Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy-relative-pathNew to Visual Studio Code? Get it now.
copy-relative-path

copy-relative-path

Eric Adamski

|
1,935 installs
| (2) | Free
Copy the relative path of the open editor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copy-relative-path

Inspired by https://github.com/alexandrudima/vscode-copy-relative-path :clap:

A simple package to copy the project file path of the current file using the keyboard shortcut ⌥+⌘+v or by typing copy relative path in the command pallette

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft