Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[scss] Incorrect syntax highlighting for some property names #48295

Closed
johnbillion opened this issue Apr 20, 2018 · 2 comments
Closed

[scss] Incorrect syntax highlighting for some property names #48295

johnbillion opened this issue Apr 20, 2018 · 2 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling

Comments

@johnbillion
Copy link
Contributor

Issue Type: Bug

Hi folks,

The syntax highlighting for SCSS differs slightly from CSS for the cursor and content properties (and maybe others that I've not noticed).

Here's the incorrect syntax highlighting for an SCSS file:

Here's the syntax for the same code in the corresponding CSS file:

Note that the name of the cursor property is not highlighted in the same colour.

I'm using the Light color theme, but I've tested this with other color themes too and the same problem occurs. Example from the Solarized Light theme:

VS Code version: Code 1.22.2 (3aeede7, 2018-04-12T16:32:53.389Z)
OS version: Darwin x64 16.7.0

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6567U CPU @ 3.30GHz (4 x 3300)
Load (avg) 2, 2, 2
Memory (System) 16.00GB (0.88GB free)
Process Argv /Applications/Code.app/Contents/MacOS/Electron
Screen Reader no
VM 0%
Extensions (44)
Extension Author (truncated) Version
erb Cra 0.0.1
EditorConfig Edi 0.12.1
vsc-material-theme Equ 1.6.0
gc-excelviewer Gra 2.0.20
beautify Hoo 1.3.0
code-settings-sync Sha 2.9.0
sort-lines Tyr 1.6.1
project-manager ale 0.25.0
scope-bar amo 0.0.5
alignment ann 0.3.0
markdown-mermaid bie 0.1.1
vscode-puppet bit 0.4.5
path-intellisense chr 1.4.2
vscode-svgviewer css 1.4.3
transformer dak 1.5.1
jshint dba 0.10.18
vscode-eslint dba 1.4.8
vscode-dash dee 1.9.0
gitlens eam 8.2.2
tslint eg2 1.0.28
vs-code-xml-format fab 0.1.5
php-debug fel 1.12.3
php-intellisense fel 2.3.1
php-pack fel 1.0.1
url-encode fle 1.1.0
vscode-zoneinfo gil 2.1.1
phpcs ika 1.0.5
svn-scm joh 1.29.0
vscode-map-preview jum 0.4.2
restructuredtext lex 59.0.0
VS-code-vagrantfile mar 0.0.7
rainbow-csv mec 0.2.1
python ms- 2018.3.1
sublime-keybindings ms- 3.0.3
php-docblocker nei 1.6.0
polacode pnp 0.2.2
vscode-sort-json ric 1.11.0
vscode-nginx sha 0.5.0
trailing-spaces sha 0.2.11
gitconfig sid 1.0.1
vscode-hexdump sle 1.6.0
cucumber ste 0.11.5
twig wha 1.0.2
change-case wma 1.0.0
@vscodebot vscodebot bot added the css-less-scss Issues and items concerning CSS,Less,SCSS styling label Apr 20, 2018
@usernamehw
Copy link
Contributor

Duplicate of atom/language-sass#226

@aeschli
Copy link
Contributor

aeschli commented May 2, 2018

Thanks @usernamehw !

@aeschli aeschli closed this as completed May 2, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Jun 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling
Projects
None yet
Development

No branches or pull requests

3 participants