ManuelGil / vscode-nestjs-generator

NestJS File Generator for VSCode

Home Page:https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NestJS File Generator for VSCode

Visual Studio Marketplace Version Visual Studio Marketplace Installs Visual Studio Marketplace Downloads Visual Studio Marketplace Rating GitHub Repo stars GitHub license

Are you tired of manually creating files for your NestJS projects in Visual Studio Code? We have the solution for you! Introducing the NestJS File Generator extension for VSCode.

demo

With this powerful extension, you can streamline your NestJS development workflow by generating files with just a few clicks. Whether you need a new class, controller, decorator, or any other NestJS component, our extension has you covered.

banner

Table of Contents

Requirements

  • VSCode 1.76.0 or later

Project Settings

Configure your project by creating or updating a settings.json file at the project's root. If you already have a .vscode/settings.json file, skip the first two steps.

  1. Open the command palette in VSCode:

    • CTRL + SHIFT + P (Windows)
    • CMD + SHIFT + P (Mac OS)
  2. Type Preferences: Open Workspace Settings (JSON).

  3. In the .vscode/settings.json file, copy and paste the following settings:

    {
      "nestjs.files.include": [
        "ts"
      ],
      "nestjs.files.exclude": [
        "**/node_modules/**",
        "**/dist/**",
        "**/out/**",
        "**/build/**",
        "**/.*/**"
      ],
      "nestjs.files.watch": [
        "controllers",
        "dtos",
        "services"
      ],
      "nestjs.files.showPath": true,
      "nestjs.files.autoImport": true,
      "nestjs.files.orm": "typeorm",
    }
  4. Restart VS Code

Your project is now set up to automatically format code upon saving.

Features

Title Purpose
NestJS: Generate Class Generates a new Class
NestJS: Generate Controller Generates a new Controller
NestJS: Generate Decorator Generates a new Decorator
NestJS: Generate Update Dto Generates a new Update Dto
NestJS: Generate Exception Generates a new Exception
NestJS: Generate Exception Filter Generates a new Exception Filter
NestJS: Generate Filter Generates a new Filter
NestJS: Generate Gateway Generates a new Gateway
NestJS: Generate Guard Generates a new Guard
NestJS: Generate Interceptor Generates a new Interceptor
NestJS: Generate Interface Generates a new Interface
NestJS: Generate Jwt Guard Generates a new Jwt Guard
NestJS: Generate Jwt Strategy Generates a new Jwt Strategy
NestJS: Generate Middleware Generates a new Middleware
NestJS: Generate Logger Generates a new Logger
NestJS: Generate Module Generates a new Module
NestJS: Generate Pipe Generates a new Pipe
NestJS: Generate Provider Generates a new Provider
NestJS: Generate Resolver Generates a new Resolver
NestJS: Generate Service Generates a new Service
NestJS: Generate Test Generates a new Test
NestJS: Generate Controller with CLI Generates a new Controller with CLI
NestJS: Generate Gateway with CLI Generates a new Gateway with CLI
NestJS: Generate Library with CLI Generates a new Library with CLI
NestJS: Generate Module with CLI Generates a new Module with CLI
NestJS: Generate Provider with CLI Generates a new Provider with CLI
NestJS: Generate Resolver with CLI Generates a new Resolver with CLI
NestJS: Generate Resource with CLI Generates a new Resource with CLI
NestJS: Generate Service with CLI Generates a new Service with CLI
NestJS: Generate Sub Application with CLI Generates a new Sub Application with CLI
NestJS: Start Server Launches the Nest Server
NestJS: Start Server (Dev mode) Launches the Nest Development Server
NestJS: Start Server (Debug mode) Launches the Nest Debug Server
NestJS: Start Server (Production mode) Launches the Nest Production Server

Connect with me

GitHub followers X (formerly Twitter) Follow

Other Extensions

Changelog

See CHANGELOG.md

Authors

See also the list of contributors who participated in this project.

License

NestJS File Generator for VSCode is licensed under the MIT License - see the MIT License for details.

About

NestJS File Generator for VSCode

https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-nestjs-generator

License:MIT License


Languages

Language:TypeScript 99.9%Language:Shell 0.1%Language:JavaScript 0.0%