ColorHighlighter icon indicating copy to clipboard operation
ColorHighlighter copied to clipboard

SASS variables not highlighted

Open nicowaltz opened this issue 10 years ago • 8 comments

Picture

As to be seen in this picture, I have problems with the highlighting of SASS variables. It only seems to highlight them when there is a semicolon in the end (But of course that's invalid in SASS).

Picture

Any idea why that is the case?

nicowaltz avatar Oct 10 '15 16:10 nicowaltz

Picture

Also I can't go to variable definition.

Picture

nicowaltz avatar Oct 10 '15 17:10 nicowaltz

Sorry for that, I don't use Saas myself, dunno what the exact syntax. I'll check it out.

Monnoroch avatar Oct 10 '15 17:10 Monnoroch

Lol I was about to post that.

Sass syntax is pretty much the same as in css / scss but without curly braces nor semi-colons

So this in Scss

$main-color : orange;

.block {
  color: $main-color;
}

Is this in Sass syntax

$main-color: orange

.block
  color: $main-color

It's basically the same but indentation matters

shelldandy avatar Oct 27 '15 00:10 shelldandy

same problem here, using the last build of sublime text 3095 (scss) image

Revod avatar Jan 05 '16 22:01 Revod

I'm still having this issue as well. Any updates?

JackReis avatar Feb 25 '16 01:02 JackReis

It's fixed for me have you tried updating your plugin?

Also sometimes it might not work but if you open your variables tab and then close it they get the colors back :)

shelldandy avatar Feb 25 '16 12:02 shelldandy

for me its fixed too, I just reinstalled, cleaned cache, reinstalled my theme and done

Revod avatar Feb 25 '16 14:02 Revod

file: main.scss In Bracket 1 2 3 In Vs-code
1 2 3 if possible please update this.

vihisharal avatar Aug 24 '18 16:08 vihisharal