atom-language-postcss
atom-language-postcss copied to clipboard
Code completion doesn't give any suggestions
Things like html tags and css property/values are auto-completed both in CSS and Sass, but not in posts files using this syntax mode. Is this something to be expected in the current implementation or some issue with my editor?
Thanks @azat-io
No problem. 😄
Actually it does't seem to make much difference in my install. Doest it provide all the css completions for you?
I don't get property and value autocomplete as well. Using v1.1.0.
Same issue for me (v1.7.2)
Wouldn't we need to add snippets like this: atom-language-css snippets
I'm working on it :smiley:
Is there a quick fix for this one?
Is there any news on getting CSS code completion working?
Same issue for me. Is there any fix so far? Version 1.3.0 Also checked the other topics - didnt work yet.
This is the biggest issue with using language-postcss in atom. Such an important feature.
Same issue. Atom 1.13.1, package version 1.3.0
Any updates on this? 😞
Same here, I'm craving this, and it's a must have for sure! Makes postCSS look like a chump right now in Atom xD
This is also a duplicate of #30
@tjkohli #30 is a duplicate of this issue.
Same issue here (atom v 1.14.3, package v 1.3.0).
One quick (but dirty) workaround is to go ~/.atom/packages/language-postcss
and replace all occurrences of .postcss
to .css
.
The reason is probably because there is no mention of *.postscss
selectors in autocomplete-css.
Another extremely hacky solution would be installing local copy of autocomplete-css
apm install autocomplete-css
open this file
atom ~/.atom/packages/autocomplete-css/lib/provider.coffee
and patch hasScope
function by adding extra condition, so function become
hasScope = (scopesArray, scope) ->
scopesArray.indexOf(scope) isnt -1 or scopesArray.indexOf(scope.replace(/\.css$/, '.postcss')) isnt -1
After Atom 1.20 release. Now can auto complete with autocomplete-css
package. Related with https://github.com/atom/autocomplete-css/pull/80
I think it solved this issue 😄
I can confirm that it also works on Atom v1.21.
Hey Atom 1.33.1 here and it does not work. Need PostCSS to have autocomplete.