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

Support autocomplete for referenced parent selectors #50

Open
winstliu opened this issue Apr 22, 2016 · 1 comment
Open

Support autocomplete for referenced parent selectors #50

winstliu opened this issue Apr 22, 2016 · 1 comment

Comments

@winstliu
Copy link
Contributor

From @dmitry on July 5, 2015 15:0

Currently if I write .plac it will find only .place class name, and not .place__header.

.place {
  &__header {

  }
}

http://sass-lang.com/documentation/file.SASS_REFERENCE.html#parent-selector

Copied from original issue: atom/language-sass#71

@winstliu
Copy link
Contributor Author

From @saschagehlich on August 10, 2015 12:51

Since sass supports includes / imports, this will be very tricky to implement... something like this is possible in Sass:

// A.scss
.A {
  @import C
}

// B.scss
.B {
  @import C
}

// C.scss
&__foo {

}

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

1 participant