How to enable SASS Error highlighting on regular .css files? (PreCSS)

Hello, is it possible to enable SASS-compatible error-highlighting on common .css files? I'm working with PostCSS with PreCSS, hence I'm writing the same syntax as SASS. The code editor detects errors all over the place because it reads it as a regular .css file. Therefor, I don't see real mistakes anymore. Please see attachment for demonstration.

Your advise will be highly appreciated.

 

0
1 comment

Try re-assigning *.css extension to SCSS file type in Settings | Editor | File Types - add *.css to the list of registered patterns, agree to re-assign extension

0

Please sign in to leave a comment.