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

copy-current-file-path

Florin Ionce

|
5,401 installs
| (4) | Free
Pathify is an extension for Visual Studio Code that copies relative path of the current opened file into the clipboard.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Pathify

Pathify is an extension for Visual Studio Code that copies relative path of the current opened file into the clipboard.

Configuration

Toggle the alerts when a path is copied

  • change the settings in settings.json
"pathify.showInformationMessageOnCopy": [true|false]

The default value is true

  • change it from the settings interface
    • Open Code -> Preferences -> Settings
    • Go to Extensions -> Pathify
    • Click on Toggle the alerts when a path is copied

Change the separator

  • change the settings in settings.json
"pathify.separator": [string]

The default value is /

  • change it from the settings interface
    • Open Code -> Preferences -> Settings
    • Go to Extensions -> Pathify
    • Change the Separator value

Demo

Basic usage

Demo basic usage

Configuration

Demo configuration

Contributors

  • Florin Ionce
  • Andrei Rat
  • Robi Kovacs
  • Mirona Filip
  • Matthew Bennett-Lovesey
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft