- make sure the WebStorm "Textmate bundles support" plugin is enabled
- download the Textmate bundle from https://github.com/andrespagella/JSX-TextMate-Bundle
- replace /Syntaxes/JSX.tmLanguage with this https://github.com/yungsters/sublime/blob/master/tmLanguage/JavaScript%20(JSX).tmLanguage (presumeably better?)
- add the textmate bundle to WebStorm
- make sure the *.jsx extension is handled by "Files supported via Textmate bundles"
- in case of color issues: you need to map your WebStorm scheme to a Textmate scheme. The Textmate color schemes are stored in .WebStorm7\config\plugins\textmate\lib\themes (on windows) and can be pruned to get rid of weird background artifacts
Created
January 25, 2014 23:09
-
-
Save jmosbech/8625173 to your computer and use it in GitHub Desktop.
WebStorm and JSX
I think it's better to have *.jsx file handled by JavaScript editor, otherwise auto-complete, and error reporting won't work for JS code inside *.jsx.
P.S.: Vote for native JSX support in WebStorm / IntelliJ: http://youtrack.jetbrains.com/issue/WEB-10136
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ok, and what next? How can I use file template and this markdown validation?
So far I did it as described.