2014-12-10 09:02:54 +01:00
|
|
|
# Integrations
|
|
|
|
|
2015-01-04 11:21:07 +01:00
|
|
|
## Intellij / WebStorm
|
2014-12-10 09:02:54 +01:00
|
|
|
|
|
|
|
### Install intellij react templates plugin
|
2015-01-04 11:21:07 +01:00
|
|
|
1. From intellij/WebStorm open preferences
|
2014-12-10 09:02:54 +01:00
|
|
|
2. Go to plugins
|
|
|
|
3. Press browse repositories
|
|
|
|
4. Press manage repositories
|
|
|
|
5. Add repository: http://intellij.wixpress.com/
|
|
|
|
6. Select react-templates from the repository.
|
|
|
|
7. Press ok and restart the IDEA.
|
|
|
|
8. Open preferences
|
|
|
|
9. Go to react-packages plugin
|
|
|
|
10. Enable the plugin.
|
|
|
|
11. Configure node
|
|
|
|
12. Configure react template executable
|
|
|
|
|
|
|
|
### enable es6
|
|
|
|
react templates uses es6 syntax for lambda expressions in event handlers, enable this in the IDE:
|
|
|
|
|
|
|
|
|
2014-12-10 09:05:04 +01:00
|
|
|
![ES6 in intellij](https://raw.githubusercontent.com/wix/react-templates/gh-pages/docs/intellij-es6.png "ES6 in intellij")
|