Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Added PostCSS Support [fixes #37] #80
Description of the Change
I added PostCSS scope checks to provider, in order to enable language-postcss to be autocompleted through this provider.
The alternative could be use language-css while using PostCSS, but the programming experience would be really awful.
Enables language-postcss to be completed trough autocomplete-css provider. Everybody who use postcss can take advantages of both postcss syntax highlight and autocompletition.
PostCSS is not a real syntax, but a collection of plugins: it's impossible to anticipate the exact configuration of the user, so the PostCSS support should be improved gradually to cover most of the possible scenarios.
There is room for improvement: a better veriables support, prevents
I tested it 2 days and did not see any bags. Only specific moment for postscss plugins, for example:
Yep, I'm aware. I will be taking another look at this again shortly.
You could submit a PR to language-postcss changing it
Also, I just merged a PR, and it looks like there's conflicts again. Sorry about that!
I'm still having this issue; when PostCSS is my syntax, autocomplete is not functioning for properties. I understand a fix was implemented here, and I've updated to Atom 1.19.0 on MacOS, so maybe I've missed a step.
Autocomplete works again if I set the syntax to CSS, but then syntax for mixins are no longer highlighted.
I'm relatively new to web development, so please let me know what more information you would need from my end, as I'm not sure what to provide as of right now.
Any help would be greatly appreciated.