vs code extension to quickly create NestJS files using GUI
Right click on any folder/file in your current project. You can find multiple options that has been added to the context menu:
Folder Menu Options |
---|
NestJS - Generate Controller |
NestJS - Generate Module |
NestJS - Generate Service |
NestJS - Generate Exception |
NestJS - Generate Middleware |
NestJS - Generate Pipe |
NestJS - Generate Interceptor |
NestJS - Generate Decorator |
NestJS - Generate Guard |
NestJS - Generate Exception Filter |
NestJS - Generate Transport |
NestJS - Generate Adapter |
NestJS - Generate Webpack |
NestJS - Generate Gateway |
File Menu Options |
---|
NestJS - Generate Unit Test |
It will also automatically add your created files to app module or your own module depending on the context
- Install Visual Studio Code 1.40.0 or higher
- Launch Code
- From the command palette
Ctrl
-Shift
-P
(Windows, Linux) orCmd
-Shift
-P
(OSX) - Select
Install Extension
- Type
nestjs files
and press enter - Install
MIT