You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have our own utility library developed on the same PC that hosts both that library and the robot code in VSC. The library jar is deployed to the local maven cache and we have a vendordep in the VSC project that includes that library jar into the robot project. The library code jar is found and loaded and we can successfully use the library in robot code. However, the library sources jar deployed with the code jar is not found by VSC, so there is no intellisense or ability to open a method declaration and see the source, like you can with the other libraries included via vendordeps.
Haven't had any luck solving this on my own...
The text was updated successfully, but these errors were encountered:
That's all normally handled by gradle, we don't touch that process at all. Have you tried resetting the vscode Intellisense engine? In the command Palette run clean Java Workspace (or something like that, I can never remember the exact name). Past that, can you post a screenshot of the maven folder with the artifacts? It's very specific how it wants to find the sources and javadoc jars.
I tried gradle clean command which helps at times but not with this. A side note, clean used to run without errors. This week a gradle clean (executed from VSCode WPILib command list) results in an error, complaining about not being able to delete the build director in the project. Today, when the happened, build directory was gone. Last time I did this, the build directory was present but inaccessible.
Back to the intellisense problem, here is screen shot of maven cache and the vendordep used to access the library. robotlib.json.txt
.
We have our own utility library developed on the same PC that hosts both that library and the robot code in VSC. The library jar is deployed to the local maven cache and we have a vendordep in the VSC project that includes that library jar into the robot project. The library code jar is found and loaded and we can successfully use the library in robot code. However, the library sources jar deployed with the code jar is not found by VSC, so there is no intellisense or ability to open a method declaration and see the source, like you can with the other libraries included via vendordeps.
Haven't had any luck solving this on my own...
The text was updated successfully, but these errors were encountered: