Syntax-highlighting-for-Sass icon indicating copy to clipboard operation
Syntax-highlighting-for-Sass copied to clipboard

Single line comments get auto-corrected to CSS multi-line comments

Open superfein opened this issue 7 years ago • 1 comments

I have the Sass package installed in ST3 v3.1.1 Build 3176. I've been having this issue when I save a .scss file in ST3 any single line comments using // automatically are changed to multi-line comments using /* */. It appears to be a bug but could also be a conflict with another formatting package I have installed.

Just to be clear, this means I am unable to have invisible comments in my .scss files, as all the comments get processed to my .css file.

I did extensive Google Searches and found nothing so I'm checking here to see if anybody has any solutions.

Cheers.

superfein avatar Sep 16 '18 22:09 superfein

I did some further testing: I removed each ST3 package one by one, and after removing the Autoprefixer package this issue was resolved. So there appears to be a conflict with the SCSS syntax that is added by the SASS package, and the Autoprefixer package

Hope this helps anyone else having this issue.

I would have opened an issue on the Autoprefixer GitHub page but the issues tab appears to be disabled.

superfein avatar Sep 17 '18 11:09 superfein