vscode-styled-components
vscode-styled-components copied to clipboard
Syntax highlighting for styled-components
**Describe the bug (including copyable syntax)** Styles are highlighted with "Editor: Occurrences Highlight" enabled and no interpolated variables **Screenshot** With Editor: Occurrences Highlight enabled 1. No interpolated variables 
## Describe the bug The following code gives me console errors in VSCode, although the output selector and styles inside are working fine: ```ts ${Wrapper}:is( [data-theme="blue"] ) & { filter:...
**Describe the bug (including copyable syntax)** Using the `css` method with `props.theme` inside `CreateGlobalStyle` results in slow typescript intellisense in the whole project. **To Reproduce** 1. Create a root component...
**Describe the bug (including copyable syntax)** When creating new blocks of CSS code based on props we don't get any intelissense or validation at all. i.e. ```javascript const Header =...
**Describe the bug (including copyable syntax)** When directly styling a functional component, the styling breaks when the function definition wraps to multiple lines. **Screenshot** It the props are a single...
**Describe the bug (including copyable syntax)** Not detected as styled css call **Screenshot**  **To Reproduce** ```js const Container = styled(ListItem)( ({ theme }) => ` border: 1px solid #f3f3f4;...
 If you wrapped the styled component in a function like React.memo, every code after the block will lost highlighting.
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...
This is an extremely obscure edge case, as I'm sure hardly anybody has had a need to do this. But I'm in the middle of writing a library and have...