autocomplete-plus icon indicating copy to clipboard operation
autocomplete-plus copied to clipboard

Can't autocomplete css-next `vars` and `mixins`

Open ccstr opened this issue 10 years ago • 1 comments

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

ccstr avatar Jul 08 '16 14:07 ccstr

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

https://github.com/atom/autocomplete-css/issues/56

ccstr avatar Jul 08 '16 19:07 ccstr