vscode-styled-components
vscode-styled-components copied to clipboard
Highlight conflict with PostCSS Extension
I'm having problems using 2 extensions together: PostCSS and Styled-Components. If both are enabled, highlighted colors give priority to PostCSS even if I write with Styled-Components syntax.
Is there any way I can configure the VSCode not to make this switch? Or some way for him to understand when I'm writing styles with Styled-Components in ".ts" files and PostCSS in ".css", ".sass" files?
Both enabled:

Only Styled-components enabled:

Build environment (please complete the following information):
- OS: Windows 10
- VSCode Version: 1.69.1
- Styled-components: 1.71.1
- PostCSS: 1.0.9
Additional context

Or some way for him to understand when I'm writing styles with Styled-Components in ".ts" files and PostCSS in ".css", ".sass" files?
You should really be using .tsx for any files which have styled component syntax in, this may help you with your conflict. This is mentioned on the readme
.ts is telling VSCode this is a typescript file, .tsx is telling VSCode “this file may have some jsx/tsx syntax in it”
apart from that I can’t really help with PostCSS overriding things, that would be for them to change.