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

Can't autocomplete css-next vars and mixins #740

Open
weichensw opened this issue Jul 8, 2016 · 1 comment
Open

Can't autocomplete css-next vars and mixins #740

weichensw opened this issue Jul 8, 2016 · 1 comment

Comments

@weichensw
Copy link

CSS vars and mixins typically start with -- which are not considered symbols by SymbolProvider

.class {
  background-color: var(--custom-color);
  @apply(--custom-mixin);
}

ref: https://github.com/atom/autocomplete-plus/blob/master/lib/symbol-provider.coffee#L52

@weichensw weichensw changed the title SymbolProvider can't autocomplete css-next vars and mixins Can't autocomplete css-next vars and mixins Jul 8, 2016
@weichensw
Copy link
Author

weichensw commented Jul 8, 2016

Some initial investigation shows it's a combination of SymbolProvider doesn't consider word begins with -- is a "word" and autocomplete-css set excludeLowerPriority: true

atom/autocomplete-css#56

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

No branches or pull requests

1 participant