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
Consecutive keyword not proposed without space #1313
Comments
It's not a bug, it's a feature, see: langium/packages/langium/src/lsp/completion/completion-provider.ts Lines 311 to 317 in bef6560
|
i will check |
i wonder if we can have access to both the current and following token. |
this is also hard to achieve. backtrackToAnyToken wont give a whitespace token something like
seems to work |
pot. workaround: adjust keyword completion to add the |
given the grammar
in the the sample model
the
:
keyword is not proposedin the completion provider i allow proposals for previous/next context and for single char keywords
The text was updated successfully, but these errors were encountered: