vscode-styled-components
Syntax highlighting for styled-components.
Uses the CSS grammar from the Atom language-babel.
Install
Inside VSCode, press Ctrl+P
, and enter:
ext install vscode-styled-components
It should be the top result.
[Source]
Features
Known Issues
Conflict with vscode-babel-coloring extension breaks highlighting.
Highlighting is broken immediately after a styled-component is returned from an arrow function:
const arrowFun = (...args) => css`
height: 12px;
`
const test = "'const' isn't highlighted correctly"