axcv
April 9, 2020, 2:55pm
1
Semantic highlighting api’s were recently stabilized in VSCode Visual Studio Code March 2020
Support for some languages have been implemented by Microsoft, rust also has implemented it Semantic Highlighting · Issue #604 · rust-analyzer/rust-analyzer · GitHub
Are there plans for the haxe vscode plugin to support it?
Gama11
(Jens Fischer)
April 9, 2020, 2:58pm
2
Yes, I’ve been following the development of the semantic highlighting API and would definitely like to have this at some point. It requires a bit of thought about how to get the information we need from the compiler etc.
1 Like
Looks like proper highlighting is finally possible for jsx/hxx?
Gama11
(Jens Fischer)
April 9, 2020, 3:25pm
4
What do you mean by “proper”? There’s already Haxe JSX - Visual Studio Marketplace
I am not very sure how the existing solution works. Maybe it just regex match the jsx(
part? What if I import react.ReactMacro.jsx as somethingElse
?
Gama11
(Jens Fischer)
April 10, 2020, 9:09am
6
Maybe it just regex match the jsx(
part?
Seems like it, yeah.
What if I import react.ReactMacro.jsx as somethingElse
?
Is that something you would realistically ever do though?