Git Product home page Git Product logo

vscode-nestjs-snippets's Introduction

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

Snippet Prefix Purpose
Nest Controller n-controller NestJS Controller
Nest v4 Middlware n-v4-middleware NestJS Middleware Version 4
Nest v4 Module n-v4-module NestJS Module v4
Nest Root Module n-module-root NestJS Root Module
Nest NestModule n-module-nest NestJS Module Implementing NestModule
Nest Mongoose Service n-mongoose-service NestJS Service for Mongoose
Nest Mongoose Interface n-mongoose-interface NestJS Interface for mongoose
Nest Unit Test n-test NestJS Unit Test
Nest Service Unit Test n-test-service NestJS Service Unit Test
Nest Sequelize Entity n-sequelize-entity NestJS Sequelize Entity
Nest Sequelize Provider n-sequelize-provider NestJS Sequelize Provider
Nest Sequelize Database Provider n-sequelize-database-provider NestJS Sequelize Provider
Nest Interceptor n-interceptor NestJS Interceptor
Nest Guard n-guard NestJS Guard
Nest Provider n-provider NestJS Provider
Nest Module n-module NestJS Module
Nest Global Module n-module-global NestJS Global Module
Nest Middleware n-middleware NestJS Middleware
Nest Pipe n-pipe NestJS Pipe
Nest TypeORM Entity n-typeorm-entity NestJS TypeORM Entity
Nest TypeORM Repository n-typeorm-repository NestJS 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

vscode-nestjs-snippets's People

Contributors

ahmedny avatar ashinzekene avatar baoyx007 avatar dreamdevil00 avatar lupu60 avatar wbhob avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-nestjs-snippets's Issues

Dosen't support Pipe?

Please provide us with the following information:

OS and Version?

Windows 7, 8 or 10. Linux (which distribution).macOS(Yosemite ? El Capitan? Sierra ?)
macOS 10.13.6

Versions

latest

Repro steps

The log given by the failure.

Mention any other details that might be useful.


Thanks! We'll be in touch soon.

Consider restructuring names

Many of the names and prefixes are weirdly hyphenated. Consider just renaming to "Nest Snippets".

Name Prefix
nest-controller n-c
nest-service n-s

Keeping it short like this makes it easier for your users. Cheers!

Feature request: Typeorm snippets

Typeorm is an awesome ORM for typescript, it's had a builtin support in nest-js
it will be nice if we had snippets for entity, and repository files

Update to v5

Have you considered update the snippets to use nestjs v5?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.