Reputation: 57
I would like to import all jar files into my vscode project classpath. If I do this it works, but only for one library of course:
<classpathentry kind="lib" path="lib/mylib.jar"/>
In my case I have almost 100 .jar files to import. If I put them in lib and put try this:
<classpathentry kind="lib" path="lib"/>
Or this:
<classpathentry kind="lib" path="lib/*.jar"/>
Or this
<classpathentry kind="lib" path="lib/*"/>
Do not work
Any idea?
Thank you very much
Upvotes: 0
Views: 2090
Reputation: 15021
Start from Language Support for [email protected],you could add new setting java.project.referencedLibraries
to config the project classpaths.
like:
"java.project.referencedLibraries": [
"library/**/*.jar",
"/home/username/lib/foo.jar"
]
refer to this link
Upvotes: 1