Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Single-file mode #19

Open
rwols opened this issue Jan 7, 2022 · 2 comments
Open

Single-file mode #19

rwols opened this issue Jan 7, 2022 · 2 comments
Labels
enhancement New feature or request needs more info

Comments

@rwols
Copy link
Member

rwols commented Jan 7, 2022

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
Copy link
Member

rchl commented Jan 11, 2022

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

@LDAP
Copy link
Collaborator

LDAP commented Jun 26, 2022

@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 LDAP added enhancement New feature or request needs more info labels Jun 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs more info
Projects
None yet
Development

No branches or pull requests

3 participants