Home

Awesome

vscode-nestjs-snippets

<p align="center"> <a title="License MIT" href="https://opensource.org/licenses/MIT"><img src="https://img.shields.io/badge/License-MIT-brightgreen.svg" alt="License MIT" /></a> <a title="Version" href="https://marketplace.visualstudio.com/items?itemName=ashinzekene.nestjs"><img src="https://vsmarketplacebadge.apphb.com/version-short/ashinzekene.nestjs.svg" alt="Version" /></a> <a title="Installs" href="https://marketplace.visualstudio.com/items?itemName=ashinzekene.nestjs"><img src="https://vsmarketplacebadge.apphb.com/installs/ashinzekene.nestjs.svg" alt="Installs" /></a> <a title="Ratings" href="https://marketplace.visualstudio.com/items?itemName=ashinzekene.nestjs"><img src="https://vsmarketplacebadge.apphb.com/rating/ashinzekene.nestjs.svg" alt="Ratings" /></a> </p> <p align="center"> <img src="https://github.com/ashinzekene/vscode-nestjs-snippets/blob/master/nestjs.jpg?raw=true" alt="NESTJS" /> <h1 align="center">NESTJS SNIPPETS FOR VSCODE</h1> <p align="center">This extension adds snippets for working with nestjs in Vscode</p> </p>

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