sibiraj-s / vscode-scss-formatter

A Visual Studio Code Extension to format SCSS files
https://marketplace.visualstudio.com/items?itemName=sibiraj-s.vscode-scss-formatter
MIT License
9 stars 3 forks source link

@media parsing error #11

Closed katie1348 closed 2 years ago

katie1348 commented 2 years ago

I have the following in my SASS:

@media screen and (max-width : 735px) and #{breakpoint(medium)} { line-height: 120%; }

The syntax highlighter puts a RED underline on the # and gives the following error:

( expectedscss(css-lparentexpected)

I don't know if this is a problem with the sass formatter or somewhere else, so I am starting here.

The SASS is of course perfectly fine, compiles and works as expected.

sibiraj-s commented 2 years ago

Hi, This Formatter doesn't provide Intellisense, just formatting and the errors are shown in the statusbar of vscode. I am pretty sure it is by something else.