Roland Grunberg
Roland Grunberg
CC'ing @jdneo , as we can repurpose this discussion to one about using shared indexes. See https://github.com/redhat-developer/vscode-java/issues/185#issuecomment-553803219 which refers to the existing functionality in JDT. We can create a shared...
How would this work on the client side ? Would the client need to set `-Djava.ls.doNotSetDefaultJVM=true` if they don't detect a setting for `java.configuration.runtimes` where `default: true` is used ?...
The Java AST and completion come from [Eclipse JDT Core](https://www.eclipse.org/jdt/core/), so that project would be a good starting point. You can have a look at https://wiki.eclipse.org/JDT_Core_Programmer_Guide. Specifically, https://wiki.eclipse.org/JDT_Core_Programmer_Guide/ECJ/Parse & https://wiki.eclipse.org/JDT_Core_Programmer_Guide/Completion...
Closing for now, but if there's issues with the instructions feel free to re-open.
Using https://download.eclipse.org/jdtls/snapshots/repository/1.10.0.202203160029/ . I saw an error notification popup on shutdown regarding "Problems saving the workspace". `Plug-in org.eclipse.jdt.ls.core was unable to load class org.eclipse.jdt.ls.core.internal.filesystem.JLSFileSystem` stacktrace ``` !ENTRY org.eclipse.osgi 4 0...
~~As of 1.6.0 ( https://github.com/eclipse/eclipse.jdt.ls/pull/1900 ) we stopped generating those `.project`, `.classpath` files at the project root. In order to do that, we overrode the filesystem used for the `file`...
With the Java EPP I see this : stacktrace ``` Root exception: java.lang.ExceptionInInitializerError at org.eclipse.jdt.core.JavaCore.getOptions(JavaCore.java:4439) at org.eclipse.jdt.ls.core.internal.preferences.PreferenceManager.initializeJavaCoreOptions(PreferenceManager.java:136) at org.eclipse.jdt.ls.core.internal.preferences.PreferenceManager.initialize(PreferenceManager.java:86) at org.eclipse.jdt.ls.core.internal.preferences.PreferenceManager.(PreferenceManager.java:77) at org.eclipse.jdt.ls.core.internal.preferences.StandardPreferenceManager.(StandardPreferenceManager.java:45) at org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin.start(JavaLanguageServerPlugin.java:184) at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:813) at org.eclipse.osgi.internal.framework.BundleContextImpl$2.run(BundleContextImpl.java:1) at...
> > ~As of 1.6.0 ( #1900 ) we stopped generating those `.project`, `.classpath` files at the project root. In order to do that, we overrode the filesystem used for...
I'm pretty sure it's related to the `JLSFileSystem` now. The installation worked with the Java EPP on version 1.5.0, but failed on 1.6.0. That's exactly when we introduced the filesystem...
Can lunar vim use nvim-jdtls ? The way to do this should be described at https://github.com/mfussenegger/nvim-jdtls#language-server-doesnt-find-classes-that-should-be-there . I don't see too much information at https://www.lunarvim.org/languages/java.html , or the particular extension...