-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
vscode-css-language-server: autocompletion and auto format do not work with css/scss file #4962
Comments
Seems like the LS doesn't have |
Yeah it looks like the server doesn't send any information about the completion provider. The LSP spec is not explicit as far as I can tell about whether this means that the server does/doesn't provide completion support. Some providers configs in the server capabilities have booleans so that a server can explicitly say |
I was able to make the LS to say that it has completion provider capability by setting Line 308 in bcdb475
I guess this is correct behaviour on the LS side assuming it only supports completion with snppets. |
Snippets are not yet implemented: #395 |
Regarding auto format, the option should be set in the language config. I've opened a related PR #4987 Closing this issue. |
Summary
It looks like the LS can't start properly, autocompletion and auto format do not work.I've chased down the issue toLanguageConfiguration.config
beingNone
when handlingworkspace/configuration
LS method call. I'm not sure if it's relevant or not.helix/helix-term/src/application.rs
Line 978 in a8a54be
Reproduction Steps
I tried this:
vscode-langservers-extracted
installed (which containsvscode-css-language-server
)I expected this to happen:
Autocompletion and auto format works
Instead, this happened:
Autocompletion and auto format do not work
Helix log
~/.cache/helix/helix.log
Platform
macOS
Terminal Emulator
iTerm2
Helix Version
helix 22.08.1 (5a3ff74)
The text was updated successfully, but these errors were encountered: