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

Babel corrupts the original Javascript syntax definitions, thus making 'Jump to symbol (R)' useless #254

Closed
karolyi opened this issue Mar 19, 2016 · 6 comments

Comments

@karolyi
Copy link

karolyi commented Mar 19, 2016

Hey guys,

the folks at Sublime implemented a newer Javascript syntax recently (as of dev build 3103), which in connection with using babel-sublime, breaks the 'Jump to symbol (R)' functionality for the original Javascript syntax (using 'JavaScript (Babel)' still works).

Here's the issue for Sublime, turns out it's not their fault: sublimehq/Packages#249

Removing babel-sublime and using the default javascript syntax reenables the proper jump to symbol functionality.

Could you loo into this issue? Thx.

@karolyi
Copy link
Author

karolyi commented Apr 2, 2016

ping

@zertosh
Copy link
Member

zertosh commented May 9, 2016

babel-sublime targets the same scopes as the stock definition, so you're going to have these issues. I need to look into the latest changes to the stock syntax to see how the selectors changed and what I can do to accommodate.

@zimensky
Copy link

In Sublime's build 3114 goto definition feature works weird with Babel plugin installed: when activating goto definition in the list of search results also appears function calls instead of function definition(s) only.

Jump to symbol seems to work well.

@davidnormo
Copy link

This would be really helpful to get working!

@neaumusic
Copy link

This is absolutely absurd and I've wasted so much time because neither CMD+R or CMD+Opt+Down works see sublimehq/sublime_text#1368

@zertosh
Copy link
Member

zertosh commented Nov 28, 2016

Will be fixed. See "re-rewrite babel-sublime" #293.

@zertosh zertosh closed this as completed Nov 28, 2016
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

5 participants