Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Copy file path from repository rootNew to Visual Studio Code? Get it now.
Copy file path from repository root

Copy file path from repository root

leonardola

|
156 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Copy File Path From Repository Root

This extension copies the path of a file relative to the repository root(.git)

How to use it?

Right click a tab or file and click Copy Relative Path from repository root or type Copy Relative Path from repository root in the command palette

How to install it?

Download from the marketplace or download the vsix file from the release folder and go to VSCode > Extensions > Three dots > Install from VSIX

Release Notes

1.0.0

Initial release. Create support to copy file path relative to the repository root .git

1.0.1

Added icon.

1.0.2

Updated readme.

1.0.3

Added line to the path.

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