Emotion: [Question] any editor plugins to write CSS in js

Created on 7 Nov 2017  路  7Comments  路  Source: emotion-js/emotion

In my case it's VS Code. Writing plain CSS is less productive in such an editor.

Most helpful comment

I use a combination of vscode-styled-components and prettier which works out pretty well.

All 7 comments

I use a combination of vscode-styled-components and prettier which works out pretty well.

So it only highlights the properties. Any solution for autocompleting of properties?

I tried https://github.com/lXSPandora/vscode-styled-components-snippets but failed to make it work at current.

Took me sometime to figure it out. VS Code uses 2.5.3 by default, but the plugin only works with 2.6.1 I installed in node_modules/. After that it looks great!

@jiyinyiyong -- You want this -- https://github.com/Microsoft/typescript-styled-plugin

So apparently vscode-styled-components is now all you need. What a time to be alive!

Screen Shot 2019-04-21 at 23 14 32

Found myself already installed it.. are they the same?

image

so many versions of this all with the same logo, but different creators...

Was this page helpful?
0 / 5 - 0 ratings

Related issues

desmap picture desmap  路  3Comments

kentcdodds picture kentcdodds  路  3Comments

Aaron-Pool picture Aaron-Pool  路  3Comments

smlmrkhlms picture smlmrkhlms  路  3Comments

AlexanderProd picture AlexanderProd  路  3Comments