Replies: 1 comment 2 replies
-
My current understanding is that kit should not be used when developing LSP. Kit is suitable for non-LSP scenarios. I don't know if my understanding is correct. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am developing an LSP language plug-in
@volar/kit is a package of @volar/language-service. Does it mean that @volar/kit should be used first?
But I see that the official examples do not use @volar/kit first, but @volar/language-service. Why is that?
If not, in what cases should @volar/kit be used and in what cases should @volar/language-service be used?
Or should @volar/language-service be used first, and only when @volar/language-service cannot meet the needs, then try to use @volar/kit?
@volar/language-service
This module provides language service functionalities, such as offering IntelliSense features. It depends on @volar/language-core for obtaining and processing virtual code, and then provides corresponding language services.
@volar/kit
@volar/kit is a module that encapsulates @volar/language-service. It provides a simplified interface for using Volar's diagnostic and formatting features within Node.js applications.
Beta Was this translation helpful? Give feedback.
All reactions