README.md

March 4, 2020 ยท View on GitHub

vscode-nestjs-snippets

License MIT Version Installs Ratings

NESTJS

NESTJS SNIPPETS FOR VSCODE

This extension adds snippets for working with nestjs in Vscode

Screenshot

Usage

Usage

SnippetPrefixPurpose
Nest Controllern-controllerNestJS Controller
Nest v4 Middlwaren-v4-middlewareNestJS Middleware Version 4
Nest v4 Modulen-v4-moduleNestJS Module v4
Nest Root Modulen-module-rootNestJS Root Module
Nest NestModulen-module-nestNestJS Module Implementing NestModule
Nest Mongoose Servicen-mongoose-serviceNestJS Service for Mongoose
Nest Mongoose Interfacen-mongoose-interfaceNestJS Interface for mongoose
Nest Unit Testn-testNestJS Unit Test
Nest Service Unit Testn-test-serviceNestJS Service Unit Test
Nest Sequelize Entityn-sequelize-entityNestJS Sequelize Entity
Nest Sequelize Providern-sequelize-providerNestJS Sequelize Provider
Nest Sequelize Database Providern-sequelize-database-providerNestJS Sequelize Provider
Nest Interceptorn-interceptorNestJS Interceptor
Nest Guardn-guardNestJS Guard
Nest Providern-providerNestJS Provider
Nest Modulen-moduleNestJS Module
Nest Global Modulen-module-globalNestJS Global Module
Nest Middlewaren-middlewareNestJS Middleware
Nest Pipen-pipeNestJS Pipe
Nest TypeORM Entityn-typeorm-entityNestJS TypeORM Entity
Nest TypeORM Repositoryn-typeorm-repositoryNestJS TypeORM Repository

Installation

  1. Install Visual Studio Code 1.10.0 or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Choose the extension
  6. Reload Visual Studio Code

OR

  1. Type Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  2. Type ext install ashinzekene.nestjs

Contributing

Contributions are highly welcome

Release Notes

1.3.0 - 04-03-2020

  • added snippet for service unit test Thanks to @lupu60