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

[CSS] Remove completion restrictions #3983

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deathaxe
Copy link
Collaborator

@deathaxe deathaxe commented May 6, 2024

Suggest properties also within meta.selector as this is the most likely scope in front of nested selectors, if a property is not yet terminated by semi-colon.

As completions are much more likely, do no longer suppress word completions.

Without this commit auto-completion no longer provides property-name completions in front of nested selectors.

Example:

div {
  color: red;
  bo|  <- no more completions here

  h2 {
    text-decoration: none;
  }
}

reported at SublimeText/Sass#107

Suggest properties also within `meta.selector` as this is the most likely
scope in front of nested selectors, if a property is not yet terminated by
semi-colon.

As completions are much more likely, do no longer suppress word completions.

Without this commit auto-completion no longer provides property-name completions
in front of nested selectors.

Example:

div {
  color: red;
  bo|  <- no more completions here

  h2 {
    text-decoration: none;
  }
}
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

Successfully merging this pull request may close these issues.

None yet

2 participants