Hacker News new | ask | show | jobs
by sktguha 2066 days ago
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 ?
1 comments

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.