You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to develop an extended syntax for typescript based on volar, but I can't find more detailed usage documentation, such as how to configure syntax highlighting, etc. I can only look at the volar source code to know where I should pass in the relevant configuration and which configuration items volar handles.
I read the source code for a while before I knew how Volar handles TS highlighting
Neither TypeScript nor LSP handles syntax highlighting. So this is out of scope for Volar. You will have to define a TextMate language. You can specify semantic tokens to enhance syntax highlighting, but that’s more of a detail you may want to have a look at after you get the basics up and running.
I want to develop an extended syntax for typescript based on volar, but I can't find more detailed usage documentation, such as how to configure syntax highlighting, etc. I can only look at the volar source code to know where I should pass in the relevant configuration and which configuration items volar handles.
I read the source code for a while before I knew how Volar handles TS highlighting
And I haven't found the code for how the virtual code corresponds to the specific plugin code.
But I didn't find any relevant documents, I could only look through the source code
The text was updated successfully, but these errors were encountered: