-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
react file with .js extension and JavaScript React language doesn't work very well #81
Comments
I'm also experiencing this issue. Ignoring it for now, but occasionally I run into an actual syntax error that would have been caught if I hadn't trained myself to ignore them! :) |
I believe this is because static properties, rather any class property declared this way, is an ES7 feature and code doesn't yet have support for it. Question though, are you guys getting bracket completion when using .jsx extension? I'm not. I don't get auto indent either, so I've been using Sublime when working with React at all lately. |
Well, it's an ES7 feature, but it doesn't highlight any errors when you use the .jsx extension.. |
As far as I'm concerned this fix should be better support of JSX contained in |
+1 jsx support in .js file extensions is a required feature |
Is anyone else not getting bracket completion and auto indent with .jsx files? |
JSX support in |
+1.I like this feature. |
+1 add es7 support |
same issue here |
@tgienger +1 also have this issue - nor auto indent neither bracket auto close - it is a real pity because when I switch language from |
Same here, it would be good to have jsx support on .js files |
+1 |
Yeah, no proper support for JSX yet. Closing as dope of #140 |
// Place your settings in this file to overwrite default and user settings. |
errors
.js file with errors
.jsx file without errors
The text was updated successfully, but these errors were encountered: