LSP-jdtls icon indicating copy to clipboard operation
LSP-jdtls copied to clipboard

Single-file mode

Open rwols opened this issue 3 years ago • 2 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.

rwols avatar Jan 07 '22 21:01 rwols

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

rchl avatar Jan 11 '22 08:01 rchl

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

LDAP avatar Jun 26 '22 12:06 LDAP