News for hackers. Stuff that matters.
Re:Show HN: Syntax Highlighter for VSCode – Tree-Sitter and ... by sktguha on Thursday October 22, 2020 @12:43PM (#24860016)
Hi, I had a related question. I want to make a VSCode extension for highlighting state and props in React in a different colour. How would I do that. Any tips ?
Re:Show HN: Syntax Highlighter for VSCode – Tree-Sitter and ... by pesh on Friday October 23, 2020 @06:14AM (#24867833)
Hello! I think such functionality can be implemented only trough Language Server https://code.visualstudio.com/api/language-extensions/langua... . Very likely it'll be much easier to add this feature to the standard JS/TS extension.