Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Go To Definition for JSDocNew to Visual Studio Code? Get it now.
Go To Definition for JSDoc

Go To Definition for JSDoc

laststance

|
16 installs
| (0) | Free
Go to workspace TypeScript symbols from JSDoc {@link 'SymbolName'} tags without importing them first.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go To Definition for JSDoc

Go To Definition for JSDoc makes inline documentation links jump to TypeScript workspace symbols even when the current file does not import the symbol.

Go To Definition for JSDoc demo

Why This Exists

This extension is a practical solution to the frustration described in microsoft/TypeScript#47718 — Provide way to link to other files from JSDoc comments: make symbol-name JSDoc links work with Go to Definition today, without adding throwaway imports just for navigation.

It focuses on the everyday symbol-navigation case rather than replacing native relative-file links or TypeScript protocol support.

Install

  • VS Code Marketplace
  • Open VSX Registry

Features

  • Jump from JSDoc inline links to workspace TypeScript symbols.
  • Supports unimported symbols such as {@link 'useReadableDrawingItemSettingsQuery'}.
  • Falls back to a TypeScript AST scan when VS Code's workspace symbol provider has no result.

Usage

/**
 * Reads drawing settings from the shared query.
 * See {@link 'useReadableDrawingItemSettingsQuery'}.
 */

Hover over the symbol name to highlight it when the extension finds a definition. To jump there, place the cursor inside the name and run Go to Definition (F12).

Supported Links

  • {@link SymbolName}
  • {@link 'SymbolName'}
  • {@link "SymbolName"}
  • {@link Namespace.SymbolName}
  • {@linkplain SymbolName}
  • {@linkcode SymbolName}

How It Resolves

  1. Ask VS Code's workspace symbol provider for the exact symbol.
  2. If nothing is found, scan TypeScript and JavaScript files with the TypeScript AST.

The fallback skips common generated and dependency directories such as node_modules, dist, out, .next, and .git.

Development

pnpm install
pnpm validate
pnpm run package

To try the extension locally, open this folder in VS Code and run the Run Go To Definition Extension launch configuration.

Publishing

pnpm run package
pnpm run publish:stores

Publishing reads VSCE_PAT and OVSX_PAT from 1Password through .env.1password.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft