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

Quick File Path

satetsu888

|
2 installs
| (0) | Free
| Sponsor
Quickly send file paths to the terminal
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Quick File Path

Quickly send file paths to the terminal.

Demo

Features

  • Send Active File Path: Send the relative path of the currently active editor file to the terminal
  • Send Selected File Path: Send the relative path of the file selected in Explorer or Source Control to the terminal

Usage

  1. Open Keyboard Shortcuts (Cmd+K Cmd+S)
  2. Search for "Quick File Path"
  3. Assign your preferred keybindings

Recommended Keybinding Setup

{
  "key": "cmd+;",
  "command": "quickFilePath.sendActiveFilePath",
  "when": "editorFocus"
}
{
  "key": "cmd+;",
  "command": "quickFilePath.sendSelectedFilePath",
  "when": "listFocus && (explorerViewletFocus || focusedView == 'workbench.scm')"
}

Note: sendSelectedFilePath uses the clipboard internally, so your clipboard contents will be overwritten.

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