Opinionated Schematics for VS CodeOpinionated Schematics are a set of Schematics for Angular and NestJS. They have been written to provide an opinionated way of creating building block for the Angular and NestJS frameworks. This VS Code extension provides an easy way to use these schematics, by the method of an additional right click context menu. This extension will only activate when folders are right clicked and a valid workspace is being used. A valid workspace has the following attributes:
UsageRight click on a folder and you will be presented with some schematic options. Due to VS Code not being able to currently create sub menus, only the common schematics are explicitly listed (Angular Component and Module, Nest Controller and Module). For all schematics click the From there choose a name for the schematic (don't append the type, so 'test' rather than 'test-component'). After that all the required parameters will have defaults applied, you can review the arguments list before proceeding and creating the schematic. A new terminal will then be created so you can see the output of the schematic, see what files have been modified or if there were any errors. NotesIf you are using the Opinionated Schematics CLI then currently only Windows and NPM is supported. |