Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Atom integration / not really an issue #18

Open
twoelevenjay opened this issue Aug 25, 2016 · 5 comments
Open

Atom integration / not really an issue #18

twoelevenjay opened this issue Aug 25, 2016 · 5 comments

Comments

@twoelevenjay
Copy link

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.

@krasimir
Copy link
Owner

@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.

@twoelevenjay
Copy link
Author

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
#18 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEaRk98buEqb4pOueN6Ij40wQsDINOg0ks5qjbe2gaJpZM4JtJz2
.

@jcperez-ch
Copy link

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.

@krasimir
Copy link
Owner

@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.

@jcperez-ch
Copy link

jcperez-ch commented Dec 16, 2016

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants