Skip to content

javidalpe/redux-live-templates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Redux Live Templates

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:

Demo

Reducer:

Demo

How to install

  1. 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

  1. Restart PhpStorm/WebStorm.

  2. To see all templates, go to Preferences->Live Templates and expand redux.

Templates

  • action : Redux action
  • actiontest : Redux action test
  • reducer : Redux reducer
  • reducertest : Redux reducer test

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-template)
  3. Replace the redux.xml with your current config file from PhpStorm/WebStorm templates folder.
  4. Update this README.md file.
  5. Commit your changes (git commit -m 'Add new template')
  6. Push to the branch (git push origin my-new-template)
  7. Create new Pull Request

License

Apache 2. Please see License File for more information.

Releases

No releases published

Packages

No packages published