volarjs / volar.js

💙🌊
https://volarjs.dev/
MIT License
963 stars 47 forks source link

feat(language-service): accurately define language server capabilities #185

Closed johnsoncodehk closed 3 months ago

johnsoncodehk commented 3 months ago

The LanguageService Plugin is required to define the features it provides, as well as the required trigger characters, SemanticTokens Legend, and CodeAction Kinds.

The language server no longer enables all LSP capabilities by default, which will prevent the language client from needlessly sending LSP requests that the language server does not implement.