Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Easy Copy PathNew to Visual Studio Code? Get it now.
Easy Copy Path

Easy Copy Path

sbonecchio

|
1 install
| (0) | Free
Copy the workspace-relative path of the active editor file.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📋 easycopypath

I was tired of manually finding and copying the relative path of the file I was working on.

Get the extension from the VS Code Marketplace.

What It Does

  • Press Command+Shift+C on macOS, or Ctrl+Shift+C on Windows and Linux, while a file is focused in the editor
  • Copies the file path relative to the open workspace folder

For example, if your workspace is /project and you are editing /project/src/extension.ts, the extension copies src/extension.ts.

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