Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

[LanguageServer] Support the case that rootPath is null #57

Closed
spoenemann opened this issue Jul 27, 2016 · 4 comments · Fixed by #372
Closed

[LanguageServer] Support the case that rootPath is null #57

spoenemann opened this issue Jul 27, 2016 · 4 comments · Fixed by #372

Comments

@spoenemann
Copy link
Member

When VS Code opens a file without opening a directory first, the language server is initialized with rootPath = null. This case should also be supported by the Xtext server (we would have a single resource then).

@cdietrich
Copy link
Member

cdietrich commented Jul 27, 2016

i saw this before. so we want to support this as well?

@svenefftinge
Copy link
Member

When rootPath is null, we don't index and start with an empty index and resourceset.
Simply waiting for didOpen notification

@spoenemann
Copy link
Member Author

@svenefftinge is this already done?

@cdietrich
Copy link
Member

imho this is still open

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants