cssx
cssx copied to clipboard
Atom integration / not really an issue
CSSX is working great in my new project, however not having Atom editor autocomplete-css recognize the css in the .jsx file is slowing me down.
Does anyone have any suggestions for how to get the core Atom package to recognize CSS in a .jsx file? I mean it already watches .css, .html, .php. But Atom doesn't seem to allow adding file extensions to that list.
Getting the Emmet package to work too would be an added bonus.
@twoelevenjay I think it will be difficult to support that feature. I remember discussions around linters that process jsx. It's just too tricker to parse cssx inside jsx.
Ok thanks for the reply. CSSX is pretty awesome!!! On Thu, Aug 25, 2016 at 11:41 AM Krasimir Tsonev [email protected] wrote:
@twoelevenjay https://github.com/twoelevenjay I think it will be difficult to support that feature. I remember discussions around linters that process jsx. It's just too tricker to parse cssx inside jsx.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/krasimir/cssx/issues/18#issuecomment-242434434, or mute the thread https://github.com/notifications/unsubscribe-auth/AEaRk98buEqb4pOueN6Ij40wQsDINOg0ks5qjbe2gaJpZM4JtJz2 .
I second the idea of having an atom highlighter, since most of the CSSX
code lives in javascript files, it is very ugly to see lint issues out there.
There is a lot of work ahead for this: lint rules, syntax highlight, autocompletion, and probably I am missing something. It might be difficult but it would be worth to try doing it.
@jcperez-ch if you use eslint you may try https://github.com/krasimir/eslint-plugin-cssx All it does is ignoring the cssx code so you don't get errors.
Oh @krasimir thank U.
By the way @twoelevenjay I have the atom language-cssx. Let me know if you already installed.
So please guys, take a look at the language definition, so we can close this issue.