-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Suggesting to install babel syntax highlighting for Sublime #347
Comments
Looks like it's going to be a bit of a pain to do install it automatically via code and the instructions are also quite painful :(
|
Can we ask Sublime to ship Babel syntax as JavaScript? |
@thejameskyle tried but was unsuccessful. I see this as the first step. I want to have a one click installation for setting up your editor with syntax highlighting, eslint, flow... This is a big part of the developer experience and something that every tool I know of punted on so far. |
Sublime 2 specific but from looking at similar issues I think it works the same in Sublime 3:
So just copy the sublime-package file and then create/append babel to the sublime-settings file? Actually making the filetype association can be expressed as one of their json macros but I'm not sure how to invoke that programatically. |
While this is a cool idea, it’s unlikely either of us will get to it, and it’s also somewhat fragile. With the influx of competing editors (Atom, VSCode) it doesn’t seem like special-casing Sublime is a good idea. Sublime also recently updated to ship Package Control by default. I think this could better be addressed as a doc entry. I filed an issue for that: #804. |
Resolve merge conflict
I have a brand new laptop and the syntax highlighting in Sublime is all crappy for JSX. Would be nice to detect if Sublime is opened and if people are using the standard JavaScript one and recommend installing the babel syntax highlighter.
One project that does something similar is Fuse where there's a wizard that lets you automatically install their Sublime extension by pressing next.
The text was updated successfully, but these errors were encountered: