Roland Grunberg

Results 612 comments of Roland Grunberg

Yup! You'll need to add an entry at https://github.com/eclipse/eclipse.jdt.ls/blob/ed9d3c77ff9a6d0de6caf0813705d4c6a8aedab7/org.eclipse.jdt.ls.product/scripts/jdtls.py#L55 to support freebsd. Also https://github.com/eclipse/eclipse.jdt.ls/blob/ed9d3c77ff9a6d0de6caf0813705d4c6a8aedab7/org.eclipse.jdt.ls.product/publish-assembly.xml#L15 & https://github.com/eclipse/eclipse.jdt.ls/blob/ed9d3c77ff9a6d0de6caf0813705d4c6a8aedab7/org.eclipse.jdt.ls.product/pom.xml#L102 (might be a 2nd spot copy-config-linux-slim)

Rather than modifying the configuration after the build, it might be easier to add the OS-specific bundles to https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.product/languageServer.product & https://github.com/eclipse/eclipse.jdt.ls/blob/master/org.eclipse.jdt.ls.product/syntaxServer.product . This should ensure the config folder contains them....

My guess is the first failure causes the others. The `org.eclipse.equinox.launcher.${ws}.${os}.${arch}` contains (for example) `Eclipse-PlatformFilter: (& (osgi.ws=gtk) (osgi.os=linux) (osgi.arch=x86_ 64))` in the `META-INF/MANIFEST.MF` . I'm just not sure what satisfies...

When you start up the language server, there should be some argument passed to it like `-data /path/to/workspace`, which represents the data location for the language server. If you look...

It looks like you may need to set `workspaceFolders` or `rootUri`/`rootPaths` : ``` !ENTRY org.eclipse.jdt.ls.core 1 0 2022-09-03 13:14:34.686 !MESSAGE No workspace folders or root uri was defined. Falling back...

Looking at the JDT-LS sources, yes these need to be defined by the client and sent over as part of initializiation. The preferred approach is to use, `workspaceFolders` but `rootUri`,...

The `initialize` call takes a [JSON object](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#contentPart) from the client side. See https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#initialize . JDT-LS converts certain portions to a map (or flattens it to a map) for ease of...

Yes, as soon as the language server (JDT-LS) has started, you would send a request whose method is `initialize` and whose content is a JSON object (or String?). I think...

@fbricon , do you have the part of the code where this happens because I'm not seeing it started as part of JDT-LS startup. I only see it in https://github.com/eclipse/eclipse.jdt.ls/blob/ed9d3c77ff9a6d0de6caf0813705d4c6a8aedab7/org.eclipse.jdt.ls.core/src/org/eclipse/jdt/ls/core/internal/handlers/InitHandler.java#L244...

It was used in https://ci.eclipse.org/jetty/job/jetty-rt-bundles-9/ . If that is no longer in use, then it can be removed.