Copy the current file relative path with the selected line range.
Example output:
src/views/user/index.vue#L120-L156
Usage
- Select code in VS Code.
- Press:
- macOS:
Cmd + Shift + L - Windows/Linux:
Ctrl + Shift + L
- macOS:
- Paste the copied result into Codex / Cursor / Claude Code.
You can also run the command from Command Palette:
Copy File Line Range