Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Send File Reference to TerminalNew to Visual Studio Code? Get it now.
Send File Reference to Terminal

Send File Reference to Terminal

Franki

|
2 installs
| (0) | Free
Send selected code's file reference (path:startLine-endLine) to the active terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Send File Reference to Terminal

A VS Code extension that sends the selected code's file reference (path:startLine-endLine) to the active terminal.

Usage

  1. Select some code in the editor
  2. Press Ctrl+Shift+Alt+R (or right-click → Send File Reference to Terminal)
  3. The reference (e.g. src/extension.ts:10-20) is sent to the terminal

Use Case

Quickly pass file references to tools like Claude Code, which accept file:line format for context.

Keybinding

Key Action
Ctrl+Shift+Alt+R Send file reference to active terminal
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft