Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

SCSS: "content" is not scoped correctly #233

Closed
aeschli opened this issue Sep 8, 2017 · 3 comments
Closed

SCSS: "content" is not scoped correctly #233

aeschli opened this issue Sep 8, 2017 · 3 comments

Comments

@aeschli
Copy link
Contributor

aeschli commented Sep 8, 2017

From @smlombardi on September 7, 2017 14:56

  • VSCode Version: Code - Insiders 1.16.0-insider (787b31c0474e6165390b5a5989c9619e3e16f953, 2017-09-05T20:47:12.741Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
Extension Author (truncated) Version
ng-template Ang 0.1.7
code-settings-sync Sha 2.8.3
sort-lines Tyr 1.3.0
html-snippets abu 0.1.0
Bookmarks ale 0.16.0
project-manager ale 0.20.0
path-intellisense chr 1.4.2
vscode-eslint dba 1.2.11
tslint eg2 0.17.0
vscode-console-wrapper fab 0.4.0
auto-rename-tag for 0.0.14
Angular2 joh 2.7.0
ecdc mit 0.10.3
HTMLHint mka 0.3.3
vscode-autoprefixer mrm 2.1.2
vscode-stylefmt mrm 2.5.0
angular2-inline nat 0.0.17
stylelint shi 0.29.0
ayu tea 0.6.0
change-case wma 1.0.0

(4 theme extensions excluded)


Steps to Reproduce:

  1. when using the css "content" property, it is not scoped for theming as support.type.property-name.css like all the other property names. It is incorrectly labeled as entity.name.tag.css.

screen shot 2017-09-07 at 10 53 37 am

Copied from original issue: microsoft/vscode#33945

@aeschli
Copy link
Contributor Author

aeschli commented Sep 8, 2017

@smlombardi Please always paste your sample code as well.

Reproduced with

&::after {
    content: 'FPO';
    font-family: system-ui;
}

@winstliu
Copy link
Contributor

winstliu commented Sep 8, 2017

This is the same bug as #226.

@winstliu winstliu added the bug label Sep 8, 2017
@winstliu
Copy link
Contributor

Closing as duplicate of #226. When that's fixed this one will be as well.

@winstliu winstliu added duplicate and removed bug labels Sep 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants