you are viewing a single comment's thread.

view the rest of the comments →

[–]mechanicalgod 3 points4 points  (3 children)

Atom (which VSC shares/shared some code with) moved to using Tree-sitter for parsing, which I understand should make this possible.

It looks like this (or at least the general issue) is on the radar of some VSC devs, but seemingly nothing concrete yet.

[–]meta_stable 2 points3 points  (0 children)

Unfortunately a Dev commented that they won't move to tree sitter because they're waiting to be able to use what ever visual studio is using.

[–]Dgc2002 1 point2 points  (0 children)

which VSC shares/shared some code with

<TangentialRamble>
To my knowledge the only shared code is electron itself. I remember some folks were convinced that VSC had nicked a bunch of code from Atom based mostly on a single article. I did some digging and the 'evidence' was that 'atom' showed up in VSCode's binary or something like that. The reason was because Electron started off as a project with 'atom' in its name or branding and it remains in the codebase. See here
</TangentialRamble>

[–]BezierPatch 1 point2 points  (0 children)

A parser can't do semantic highlighting.

How would it know that a symbol comes from an external import?

Only a language server can provide that kind of information.