Enabling autocomplete for a custom language using Rust grammar #11907
-
I am trying to add support for DSLX, the language uses mostly Rust syntax so I used Rust grammar for highlighting and added dslx_ls as the language server. Language server features work but autocomplete does not. Is there a way I can make autocomplete work using Here is my config: languages.toml
runtime/queries/dslx/highlights.scm
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like dslx_ls does not support autocompletion. Looking at the linked repository I found the language server implementation. It doesn't seem to implement a handler for textDocument/completion, which is used to retrieve a list of possible completions from a language server. |
Beta Was this translation helpful? Give feedback.
It looks like dslx_ls does not support autocompletion.
Looking at the linked repository I found the language server implementation. It doesn't seem to implement a handler for textDocument/completion, which is used to retrieve a list of possible completions from a language server.