sublimelsp / LSP-jdtls

Convenience package for the Eclipse JDT language server

Home Page:https://packagecontrol.io/packages/LSP-jdtls

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Single-file mode

rwols opened this issue · comments

There are actually two variants of this language server. One for single-file mode and one for project-mode. Currently only the project-mode variant is used. If the user opens a single file then it'd be cool to have this package start the single-file mode.

In single-file mode the language server doesn't resolve imports and neither can it do various other things like find-references. But it does check syntax.

And the server doesn't infer that based on whether workspaceFolders are provided? Should it?

@rwols Can you please provide more information on this? Do you talk about the Syntax server mode? I could not find any information on a single file mode.