Hello,
I'm using this extension to support PostCSS, but it doesn't work with Prettier. Can you add PostCSS in language mode?
Extension: https://marketplace.visualstudio.com/items?itemName=mhmadhamster.postcss-language
Thank you!
Is #116 ok for you?
@CiGit yes!
Can someone share their config they used to get PostCss formatting with prettier please?
I am using this https://marketplace.visualstudio.com/items?itemName=mhmadhamster.postcss-language for syntax support.
Do you need to name the files .pcss extension or do you map css to postcss type?
"files.associations": {
"*.css": "postcss"
}
I have tried this too
"[postcss]": {
"editor.formatOnSave": true
},
No luck...
@stewartduffy I'm also using vscode and struggling getting it to work with postcss files.
Language are now provided by prettier. postcss is currently not part of what prettier gives us.
There is a PR on prettier's side for exactly that.
Edit: the PR
Supported since 1.1
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
Is #116 ok for you?