coc-java icon indicating copy to clipboard operation
coc-java copied to clipboard

is it possible to use CLASSPATH variable ?

Open Hax4us opened this issue 3 years ago • 4 comments

i was using ale + javalsp where CLASSPATH variable was honoured. but here not. Yes i know i can set external libs using coc-settings.json but i want to use CLASSPATH.

Hax4us avatar Jun 01 '21 14:06 Hax4us

@Hax4us +1 i also need it to android development: https://github.com/hsanson/vim-android

JartX avatar Jul 10 '21 15:07 JartX

Any progress here?

MuhammadSawalhy avatar Apr 19 '22 10:04 MuhammadSawalhy

Don't know, the author is incapacitated for this.

chemzqm avatar Apr 19 '22 11:04 chemzqm

Don't know, the author is incapacitated for this.

Ok @chemzqm, we can deal with this issue for now with some workarounds as some people did in this issue: https://github.com/neoclide/coc-java/issues/93

I think this is something related to the language server jdtls itself, not coc-java. Some issues are open there in jdtls repo such as https://github.com/eclipse/eclipse.jdt.ls/issues/1986.

Regarding me, I just :CocLocalConfig, configured java.project.referencedLibraries, and continued coding what I was coding.

MuhammadSawalhy avatar Apr 19 '22 12:04 MuhammadSawalhy

Use configuration java.project.referencedLibraries instead, which support workspace folder configuration.

chemzqm avatar Jan 29 '23 07:01 chemzqm