PhpStorm/WebStorm Live templates let you insert frequently-used or custom code constructs into your source code file quickly, efficiently, and accurately.
This repo contains live templates for Redux Actions and Reducers.
Action:
Reducer:
- Download and copy the redux.xml file to your templates folder:
- Windows:
<your home directory>\.<product name><version number>\config\templates
- Linux:
~\.<product name><version number>\config\templates
- OS X:
~/Library/Preferences/<product name><version number>/templates
e.g. ~/Library/Preferences/PhpStorm2017.2/templates
on OS X for PhpStorm 2017
-
Restart PhpStorm/WebStorm.
-
To see all templates, go to Preferences->Live Templates and expand redux.
- action : Redux action
- actiontest : Redux action test
- reducer : Redux reducer
- reducertest : Redux reducer test
- Fork it
- Create your feature branch (git checkout -b my-new-template)
- Replace the redux.xml with your current config file from PhpStorm/WebStorm templates folder.
- Update this README.md file.
- Commit your changes (git commit -m 'Add new template')
- Push to the branch (git push origin my-new-template)
- Create new Pull Request
Apache 2. Please see License File for more information.