/vscode-copy-path

copy-path extension for Visual Studio Code

Primary LanguageJavaScriptMIT LicenseMIT

Copy Directory Path for Visual Studio Code

  • Copy the relative path from the current file to the selected file.
  • Copy the project path of a file or directory.

How to use

Select the file from the explorer and click on the desired option:

Example

Extension Settings

// Add ./ for relative paths pointing to the same directory.
"copyRelativeFilePath.addLeadingDot": true