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 not suggesting nested tag completions #31385

Closed
smlombardi opened this issue Jul 25, 2017 · 3 comments
Closed

SCSS not suggesting nested tag completions #31385

smlombardi opened this issue Jul 25, 2017 · 3 comments
Assignees
Labels
css-less-scss Issues and items concerning CSS,Less,SCSS styling

Comments

@smlombardi
Copy link

  • VSCode Version: Code - Insiders 1.15.0-insider (fed03b6, 2017-07-25T07:20:25.274Z)
  • OS Version: Darwin x64 16.7.0
  • Extensions:
Extension Author (truncated) Version
ng-template Ang 0.1.4
code-settings-sync Sha 2.8.2
sort-lines Tyr 1.3.0
html-snippets abu 0.1.0
Bookmarks ale 0.15.2
project-manager ale 0.18.1
path-intellisense chr 1.4.2
vscode-eslint dba 1.2.11
tslint eg2 0.17.0
Angular2 joh 2.4.0
ecdc mit 0.10.3
HTMLHint mka 0.3.3
vscode-autoprefixer mrm 2.0.0
vscode-stylefmt mrm 2.4.1
angular2-inline nat 0.0.17
stylelint shi 0.28.0
change-case wma 1.0.0

(4 theme extensions excluded)


Steps to Reproduce:

  1. if you type a tag at the root level of a SCSS file, it will suggest tags as expected. Here it suggests input:

screen shot 2017-07-25 at 9 05 41 am

  1. However, inside a nested selector, it forgets all about input:

screen shot 2017-07-25 at 9 04 44 am

by nested selector, i mean

.my-outer-selector {
    input {
      color: green;
    }
}

Same happens with every tag I've tried: button, div, etc.

@vscodebot vscodebot bot added the insiders label Jul 25, 2017
@ramya-rao-a ramya-rao-a added css-less-scss Issues and items concerning CSS,Less,SCSS styling and removed insiders labels Jul 26, 2017
@ramya-rao-a
Copy link
Contributor

The tag suggestions are coming from css completion provider and not emmet, re-labeling

@ramya-rao-a ramya-rao-a changed the title Emmet 2.0: SCSS not suggesting nested tag completions SCSS not suggesting nested tag completions Jul 26, 2017
@aeschli
Copy link
Contributor

aeschli commented Aug 2, 2017

That's was a request from #17578 as it is, rather uncommon to nest tags.

@aeschli aeschli closed this as completed Aug 2, 2017
@smlombardi
Copy link
Author

@aeschli It's not as uncommon as you think. we frequently apply a class to the body tag (this is especially common in Wordpress) and then add tags and classes inside of that to make overrides for just that page.

@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
css-less-scss Issues and items concerning CSS,Less,SCSS styling
Projects
None yet
Development

No branches or pull requests

3 participants