Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashinzekene/vscode-nestjs-snippets
๐ฅ Vscode NestJS Code Snippets
https://github.com/ashinzekene/vscode-nestjs-snippets
nestjs snippets typescript vscode vscode-snippets
Last synced: about 1 month ago
JSON representation
๐ฅ Vscode NestJS Code Snippets
- Host: GitHub
- URL: https://github.com/ashinzekene/vscode-nestjs-snippets
- Owner: ashinzekene
- License: mit
- Created: 2018-01-01T13:05:08.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2020-08-11T05:47:34.000Z (over 4 years ago)
- Last Synced: 2024-08-02T17:35:17.080Z (4 months ago)
- Topics: nestjs, snippets, typescript, vscode, vscode-snippets
- Language: JavaScript
- Homepage:
- Size: 374 KB
- Stars: 107
- Watchers: 3
- Forks: 13
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
- awesome-nestjs - Nestjs Snippets - Vscode nestjs ไปฃ็ ็ๆฎต (่ตๆบ / ้ๆ)
- awesome-nestjs - NestJS Snippets - Vscode NestJS code Snippets. (Integrations)
README
### vscode-nestjs-snippets
NESTJS SNIPPETS FOR VSCODE
This extension adds snippets for working with nestjs in Vscode
## Screenshot
![Usage](img.gif)
## 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
1. Launch Code
1. From the command palette `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (OSX)
1. Select `Install Extension`
1. Choose the extension
1. Reload Visual Studio CodeOR
1. Type `Ctrl`-`Shift`-`P` (Windows, Linux) or `Cmd`-`Shift`-`P` (OSX)
1. 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](https://github.com/lupu60)