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 syntax coloring error: "cursor" identified as selector entity instead of property name. #29160

Closed
patricio-ezequiel-hondagneu-roig opened this issue Jun 21, 2017 · 2 comments
Assignees

Comments

@patricio-ezequiel-hondagneu-roig
  • VSCode Version: Code 1.13.1 (379d2ef, 2017-06-14T18:21:47.485Z)
  • OS Version: Windows_NT ia32 10.0.15063
  • Extensions:
Extension Author Version
vetur octref 0.7.0
vuehelper oysun 0.1.0
vscode-icons robertohuertasm 7.9.0

Inside SCSS files, the cursor property is being colored like a selector instead of a property.

The TM scope inspector shows that regular properties have the following tags:

  • support.type.property-name.css
  • meta.property-name.scss
  • meta.property-list.scss
  • source.css.scss

While the cursor property has these:

  • entity.name.tag.css
  • meta.property-list.scss
  • source.css.scss

Below there are screenshots showing this behavior.

image
image


Steps to Reproduce:

  1. Create a new file and paste the following code:
.selector {
	align-self: auto;
	cursor: auto;
	margin: auto;
}
  1. Save the file with a .scss extension.
  2. The cursor property is not colored properly, possibly because the SCSS grammar misidentifies it as a selector entity name rather than a property name
@johnbwoodruff
Copy link

I can confirm this is an issue. It's happening with me as well.

@aeschli
Copy link
Contributor

aeschli commented Aug 10, 2017

This issue was moved to atom/language-sass#230

@aeschli aeschli closed this as completed Aug 10, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants