vscode-scss icon indicating copy to clipboard operation
vscode-scss copied to clipboard

Autocomplete scss variables

Open napalmpapalam opened this issue 4 years ago • 6 comments

  • VS Code Version: 1.46.1
  • SCSS IntelliSense Version: 0.9.0
  • Operating System: Linux

When I start to type scss variable that name starts on $ symbol, and trigger autocomplete on Tab key, It autocomplete with 2 dollar symbol in start of the name, like this: color: $$col-input-field

napalmpapalam avatar Jul 06 '20 09:07 napalmpapalam

Yeah a few of us are having this problem: https://github.com/mrmlnc/vscode-scss/issues/118

mattaningram avatar Jul 09 '20 16:07 mattaningram

Same problem, I really hate it, that stop write fastly

ccxdev avatar Jul 11 '20 09:07 ccxdev

Same here. It is really annoying.

YongzeYao avatar Jan 10 '21 23:01 YongzeYao

any news?

napalmpapalam avatar Apr 14 '21 06:04 napalmpapalam

VS Code Version: 1.56.0 SCSS IntelliSense Version: 0.9.1 Operating System: Windows 10

I found something weird, rather than trying to explain from scratch i made a gif (recommend expanding to full screen):

6fiU1ESNbJ

Notice the 2 intellisense entries for $root-font.

The one with the all the ../../../.. behaves correctly i.e. inserts the variable with no extra $ symbol.

The one that shows reference to the file itself (funkymix/_defaults.scss), that one bugs out with the extra $ symbol.

Also while we're at it, i question why it displays 2 entries for the same variable at all? It should only show 1, as there's only 1 variable, right?

I hope this can be of help debugging 😊

marblewraith avatar May 07 '21 00:05 marblewraith

Is there any improvement on this issue?

Omcsesz avatar Nov 25 '22 15:11 Omcsesz