sublimelsp / LSP-jdtls

Convenience package for the Eclipse JDT language server
https://packagecontrol.io/packages/LSP-jdtls
MIT License
30 stars 4 forks source link

Single-file mode #19

Open rwols opened 2 years ago

rwols commented 2 years ago

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.

rchl commented 2 years ago

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

LDAP commented 2 years ago

@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.