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

Is this based on JavaScript Ultimate? #6

Closed
kurtextrem opened this issue Jan 20, 2017 · 4 comments
Closed

Is this based on JavaScript Ultimate? #6

kurtextrem opened this issue Jan 20, 2017 · 4 comments

Comments

@kurtextrem
Copy link

Sublime's default syntax also has quite a few flaws. JavaScript Ultimate for ST3 aims to fix that: https://packagecontrol.io/packages/JavaScript%20Ultimate

So, I wonder if this extension is based on JS Ultimate or if it is a good idea to do that? :)

@joshpeng
Copy link
Owner

Great question. This currently implements a modified version of https://packagecontrol.io/packages/Babel

@kurtextrem
Copy link
Author

kurtextrem commented Jan 21, 2017

It seems like Sublime Babel is getting a rewrite too: babel/babel-sublime#293.

So I'm not sure. Is there any "convenient" way to convert .sublime-syntax to the VS Code JSON?
(And looking at the source of JS Ultimate, it seems waaaaaaaay more comprehensive than Sublime Babel)

@joshpeng
Copy link
Owner

joshpeng commented Jan 21, 2017

Unfortunately, until its done, I won't be touching it. When it's done, if he achieves his goals, there would be no need for me to do anything since we will be able to just import his .tmLanguage. If he can't migrate off sublime-syntax, then we'll see what we see at that point in time.

No way to switch to JS Ultimate without literally starting everything over. Also it seems that it doesn't support JSX which is not great these days considering how popular React is.

There's no convenient way to do grammar. Many things don't necessarily translate the way you'd hope and sometimes require hefty tweaks. Add on top of that the upcoming VSC 1.9 changes that will already break a majority of VSC themes. The whole situation needs to settle a bit more before reassessing what can/cannot be done. Thanks for the links though.

@kurtextrem
Copy link
Author

I see, thanks for answering and doing Sublime Babel for VS Code :)

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

2 participants