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 "level" differences for auto-completion #57

Open
sp00n opened this issue Jul 3, 2014 · 4 comments
Open

.scss "level" differences for auto-completion #57

sp00n opened this issue Jul 3, 2014 · 4 comments

Comments

@sp00n
Copy link

sp00n commented Jul 3, 2014

Something weird is going on when writing code in different "levels".

For example, in a "level 1" notation like below, no colon is entered when auto-completing a property, and some properties don't show up in the auto-complete list (like font-style). If I however add a second level element inside that one, all of the above suddenly works.
Except adding a semicolon at the end.

Example:

.level-1 {
    width: 100%; // No automatic colon when auto-completing for "width"
    font-style: normal; // "font-style" doesn't show up in the auto-complete list

    .level-2 {
        width: 100%; // Colon is automatically added when auto-completing "width"
        font-style: normal; // Auto-completion for "font-style" works
    }
}

Also see here: #37

@mariogarridopt
Copy link

yes i have the same problem and for me its the most important problem to solve!I have the same problem. pls fix it.

@kleinfreund
Copy link

I cannot reproduce this.

  1. Opened new file + saved as test.scss
  2. typed this:
.level-1 {
    w
    // Autocomplete pops up and suggests `width`

Same thing applies for font-style.

@mariogarridopt
Copy link

try color:

@kleinfreund
Copy link

.level-1 {
    c
    // Autocomplete pops up and suggests `color` as 5th

It doesn't suggest namespaced color names though, but I guess that's fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants