Will vscode haxe plugin have semantic highlighting support in the future?

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?

Yes, I’ve been following the development of the semantic highlighting API and would definitely like to have this at some point. :slight_smile: 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?

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?

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?