I am using IntelliJ Idea and have problems using "Ctrl + Alt + L" reformatting inside SCSS or SASS files.
I declare variables with:
$myvariable: 15px !default;
But the reformat function brings unwanted whitespace:
$myvariable: 15px ! default;
How can I tell the reformat feature to skip "!default".
Probably you are using an old PhpStorm or IntelliJ IDEA version that still has this bug. I've tried with PhpStorm 5.0.2 and cannot reproduce this problem.
Note that current IDEA 11.1.3 release also has this problem, but IDEA 12 EAP works fine.