Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>NestJS Routes ExplorerNew to Visual Studio Code? Get it now.
NestJS Routes Explorer

NestJS Routes Explorer

fahrizaall

|
1 install
| (0) | Free
Browse, search and jump to every HTTP route in your NestJS app, right from the sidebar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

NestJS Route Explorer

See every HTTP route in your NestJS project in one sidebar, search them, and jump straight to the handler.

Features

  • Route tree in its own Activity Bar view. The default path tree groups routes by URL:

    API
    └── /api/v1
        ├── /auth
        │   ├── POST /login
        │   └── POST /register
        └── /users
            ├── GET    /
            ├── GET    /:id
            └── DELETE /:id
    

    Prefix chains with no routes of their own are merged (/api + /v1 → /api/v1), methods are aligned, and a resource node shows its controller name. Switch to controller / HTTP method / flat grouping from the tree's toolbar (or nestRouteExplorer.groupBy).

  • Fully resolved paths: global prefix (app.setGlobalPrefix('api') is auto-detected from main.ts) + controller path + method path. Array paths and @Controller({ path, version }) are expanded.

  • Go to Route… quick pick (Ctrl+Alt+R / Cmd+Alt+R): type post users and jump to the handler.

  • Filter the tree (terms are AND-ed across method, path, controller, handler).

  • CodeLens above each handler showing its final URL; click to copy it.

  • Copy path, URL or a ready-to-run curl command from the context menu.

  • Live updates as you type, save, create or delete controllers.

  • Status bar route count.

  • Supports @Get/@Post/@Put/@Patch/@Delete/@Options/@Head/@All/@Search/@Sse, @Version, and URI versioning.

No language server and no runtime dependencies: controllers are parsed with a small built-in scanner.

Settings

Setting Default Description
nestRouteExplorer.include **/*.controller.{ts,js} Files that may contain controllers (use **/*.ts for custom naming).
nestRouteExplorer.exclude **/{node_modules,dist,out,build,coverage,.git}/** Files to ignore.
nestRouteExplorer.globalPrefix "" Overrides auto-detected global prefix.
nestRouteExplorer.autoDetectGlobalPrefix true Read setGlobalPrefix() from main.ts.
nestRouteExplorer.versioning none uri adds /v{version} segments.
nestRouteExplorer.versionPrefix v URI versioning prefix.
nestRouteExplorer.baseUrl http://localhost:3000 Used by Copy URL / cURL.
nestRouteExplorer.groupBy path path, controller, method or none.
nestRouteExplorer.codeLens true Show the resolved route above handlers.
nestRouteExplorer.statusBar true Show the route count.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft