/ngrx-files

This extension allows quickly scaffold NgRx state files in your Angular 5+ project.

Primary LanguageTypeScriptMIT LicenseMIT

VS Code NgRx Files

This extension for VS Code allows quickly scaffold NgRx state files in your Angular 5+ project.

How to install

  1. Download the extension here
  2. Go to "Extensions" tab on your VS Code sidebar
  3. Click on the 3 dots "..." on the top right corner
  4. Click on "Install from VSIX"
  5. Select the downloaded file

How to use

  1. Right click on a folder and select "Scaffold NgRx State Files"
  2. Type a name that will be used as a key for the state and press "Enter"
  3. This will create all the necessary files (actions, reducer, effects, selectors and a barrel). You just need to import and use it!

Disclaimer

Important: This extension due to the nature of it's purpose will create files on your hard drive and if necessary create the respective folder structure. While it should not override any files during this process, I'm not giving any guarantees or take any responsibility in case of lost data.

License

MIT