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] Enable selector completions #2727

Merged
merged 1 commit into from
Mar 10, 2021

Conversation

deathaxe
Copy link
Collaborator

Fixes jskinner/DefaultPackages#79

This commit removes Completion Rules.tmPreferences from CSS package to allow completions in CSS selectors.

Example:

   .my-class .sub-class { }
   .my-class .other-sub-class { }
   .my-class .yet-another-sub-class { }

A plain CSS file may contain several rule sets with the same classes used in selectors. Therefore writing experience may benefit from word completions.

Note: That's possible as PR #2556 makes sure css_completions not to suggest property names in selector scope.

Fixes jskinner/DefaultPackages#79

This commit removes Completion Rules.tmPreferences from CSS package to
allow completions in CSS selectors.

Example:

   .my-class .sub-class { }
   .my-class .other-sub-class { }
   .my-class .yet-another-sub-class { }

A plain CSS file may contain several rule sets with the same classes
used in selectors. Therefore writing experience may benefit from word
completions.

Note:

  That's possible as PR sublimehq#2556 makes sure not to suggest property names
  in selector scope.
@wbond wbond merged commit 2dcb6d8 into sublimehq:master Mar 10, 2021
@deathaxe deathaxe deleted the pr/css/enable-selector-completions branch March 10, 2021 16:37
mitranim pushed a commit to mitranim/Packages that referenced this pull request Mar 25, 2022
Fixes jskinner/DefaultPackages#79

This commit removes Completion Rules.tmPreferences from CSS package to
allow completions in CSS selectors.

Example:

   .my-class .sub-class { }
   .my-class .other-sub-class { }
   .my-class .yet-another-sub-class { }

A plain CSS file may contain several rule sets with the same classes
used in selectors. Therefore writing experience may benefit from word
completions.

Note:

  That's possible as PR sublimehq#2556 makes sure not to suggest property names
  in selector scope.
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.

CSS auto complete popup no longer working
2 participants