Closed GianniGiglio closed 1 year ago
You can pass .jar paths and directory paths to the groovy.classpath
setting.
@joshtynjala That's what I don't understand how to set this setting. Could you explain that part?
It's an array of file system paths. You set it with the same values that you might pass to the -cp
/-classpath
compiler option.
I am feeling pretty stupid I still don't understand your answer.
tried this but it didn't work
java -cp libs/ -jar groovy-lang-orignal-all.jar
if you are using visual studio code Open workspace settings In the json you can use "groovy.classpath" with array
@himanshutripathi01 not using vscode but codemirror languag server
I think it starts making sence now. Could it be I have to add this settings file to the workspace of the language server?
yes
Hi would it be possible to explain how I can add additional classpath entries form jars. It's unclear how this exactly works.