Results 884 comments of Ivan Yonchovski

I believe these should be a vector, not a string.

That way of starting the application is performed by the jdtls, thus the server thinks that this project is 17. Check the .classpath in the root of the project. Alternativelly...

You can register template with your settings. M-x dap-debug-edit-template (check which version you would want to use the one with C-u or not)

`-Denv=qa --add-opens java.base/java.lang=ALL-UNNAMED` this can go in `dap-java-java-command`. vmArgs is used when the process is started by the language server.

Sounds like a bug. As a workaround you may set them in emacs like: `(setenv "foo" "bar")` and they will be used in child processes.

@renatoathaydes lsp-mode atm does not support settings.json. The settings are exposed as defcustoms in `lsp-java` group. If a certain property is missing it can be easily exposed.

> * where the sources are located (multiple directories) So in https://code.visualstudio.com/docs/java/java-project#_configure-classpath-for-unmanaged-folders there is a setting `"java.project.referencedLibraries"` - that corresponds to `lsp-java-project-referenced-libraries`. Other settings should be either already mapped or...

> This setting is only useful if it is per project. Even a single "project" may have multiple modules. I doubt that it works that way in vscode. AFAICS in...

> What do you mean? VSCode always loads a single workspace at a time and you can't work on multiple ones like you can in emacs. Emacs works like vscode...