vscode-sass-indented icon indicating copy to clipboard operation
vscode-sass-indented copied to clipboard

Allow for spaces between names and :

Open 7keo opened this issue 3 years ago • 1 comments

Currently, if you type an identifier like this

name: value

it gets picked up by the syntax highliter.

But if you type

name : value

or

name	: value

it does not get picked up, even though it's valid syntax.

Also, for variables, the same occurs

$name: value

is fine, but

$name : value

is not picked up.

Please note that the ":" should be parsed as an operator (its own token), and not as part of the id name. This seems to currently be the case with name: value, name : value, and $name : value but not with $name: value.

Keep in mind that number of tabs and spaces allowed should be arbitrary, ie: [\s\t]* if I'm correct.

Have a great day!

7keo avatar Jan 24 '22 16:01 7keo

i also noticed that but i never looked into it, im currently only fixing bugs so if you want you can make a pr, otherwise this might take a while.

TheRealSyler avatar Jan 24 '22 20:01 TheRealSyler