-
Notifications
You must be signed in to change notification settings - Fork 7
SourceKit could provide more refined code highlighting #9
Comments
This is something that would be extremely high on my priority list to get done. Though sadly I'm not sure how we feed the information to VSCode. Can you provide a link to VSCode docs? Also thanks for collaborating! |
The |
Missread the question yeah, looks like vscode only supports text mate style colorizers. And language servers and extensions might only support decorating text on top of that. This might be a 20% problem |
Could try seeing how omnisharp works for c#. Must have very similar issues integrating with VSCode as this extension will |
looks like they use a text mate formatting file as well. Might be stuck unless vscode provides a different API. |
Implicitly though that means that as of right now it cannot support this. I am subscribed to the issue and plan to follow the implementation of it. That way whenever support for it does land this extension can take advantage of it. |
Most of the language plugins use textmate style code highlighting which is mostly based on regex matching.
Sourcekitten/sourcekit can provide this information based on the AST which is how Xcode does it.
Super helpful in swift since it allows shadowing.
The text was updated successfully, but these errors were encountered: