styled-components/vscode-styled-components
在 GitHub 查看[Feature Request] - Syntax highlighting for custom tags
Open
#303 创建于 2021年6月3日
E-Hardbugenhancementhelp wanted
描述
Basically an extension of this issue: https://github.com/styled-components/vscode-styled-components/issues/224
Apparently the intellisense is with the TS compiler and can be configured there, but the syntax highlighting is handled by this plugin so setting custom tags in tsconfig.json has no effect on the syntax highlighting.
Is there a reason for this? Can we not just add a VS Code setting or whatever that allows you to set custom tags? Seems like a much better way of doing it than hard-coding tag names for every styled-components-style library under the sun (there are so many now!)