language-css icon indicating copy to clipboard operation
language-css copied to clipboard

Add custom properties to autocomplete

Open WoodyWoodsta opened this issue 8 years ago • 5 comments

Description of the Change

Add symbol selector for custom variables for auto-completion allowing these to be a part of the suggestions for the .source.css .variable.css scope.

Fixes https://github.com/atom/language-css/issues/103

Applicable Issues

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

WoodyWoodsta avatar Jan 30 '17 06:01 WoodyWoodsta

I intend to write tests as soon as I have time!

WoodyWoodsta avatar Jan 30 '17 06:01 WoodyWoodsta

Are these autocompletions even necessary anymore in language-css? Do they only show up when autocomplete-css is disabled?

winstliu avatar Jan 30 '17 16:01 winstliu

Without my additions, variable completions are not shown with or without autocomplete-css.

WoodyWoodsta avatar Jan 30 '17 19:01 WoodyWoodsta

Hmm. Interesting. I'll have to take a bit to understand the relationship between this file and autocomplete.

winstliu avatar Jan 30 '17 21:01 winstliu

Ok, I just tried testing this out along with the related autocomplete-css change but I can't get any variable autocompletions to show up. Is it still working for you?

winstliu avatar Mar 17 '17 15:03 winstliu