简体中文
Make links in code comments clickable — Ctrl+Click to jump, Ctrl+Alt+Click to open to the side.

Features
Detects file path links in code comments and turns them into clickable hyperlinks:
- Markdown-style:
[label](https://github.com/Krysl/VSCode-Comment-Link-Jump/blob/HEAD/path)
- Relative paths:
./file.ts, ../lib/foo.ts
- Absolute paths:
/home/user/file.ts, C:\path\to\file.ts
file:// protocol: file://./relative, file:///absolute
- Line/column navigation:
path:10, path:10:20
- Range selection:
path#L1-L10, path#L1,20
| Language |
Syntax |
| C-style (JS, TS, C, C++, Java, C#, Go, Rust, Swift...) |
// ..., /* ... */ |
| Python, Shell, Ruby, YAML, Perl, R, Makefile, Dockerfile |
# ... |
| SQL, Lua, Haskell, Ada |
-- ... |
Usage
Write a file path in a comment:
// See [utils](https://github.com/Krysl/VSCode-Comment-Link-Jump/blob/HEAD/src/utils.ts) for details.
// Config: ./config/app.json
// Docs: file://./docs/README.md#L10-L20
The path becomes a clickable link. Hover to see the resolved target.
Commands
| Command |
Description |
Comment Link Jump: Reload Providers |
Verify the extension is active |
Requirements
Development
npm install
npm run compile
# Press F5 to debug
| |