Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy Claude RefNew to Visual Studio Code? Get it now.
Copy Claude Ref

Copy Claude Ref

Michael Volk

|
4 installs
| (0) | Free
Copy file#Lstart-end reference to clipboard for Claude Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy Claude Ref

Press Cmd+Alt+Ctrl+C (Mac) or Ctrl+Alt+Shift+C (Linux/Win) in any editor to copy a file reference to the clipboard.

Designed for pasting file references into Claude Code terminals.

Behavior

Scenario Output
No selection (cursor) notes/file.md#L10
Single-line selection notes/file.md#L10
Multi-line selection notes/file.md#L10-25
File outside workspace folder @../OtherProject/path/to/file.py#L10
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft