d4rkr00t / language-stylus

Stylus language support for Visual Studio Code
MIT License
44 stars 12 forks source link

Syntax highlighting inside js #78

Closed Pytal closed 3 years ago

Pytal commented 4 years ago

Could you extend the Stylus syntax highlighing to work when Stylus syntax is written inside js, similar to how styled-components syntax highlighting works?

iChenLei commented 3 years ago

Sorry, It's out of scope. If you need css-in-js highlight, it means css-in-js library is better choice for css solution. We don't know how to detect content which need highlight, all template literals in js(x)/ts(x)? and also cause conflict with other vscode extension which represent js(x)/ts(x) file. so close this issue.