Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Path RelayNew to Visual Studio Code? Get it now.
Path Relay

Path Relay

Anunay Prakash

|
1 install
| (0) | Free
Quickly pick and insert relative or absolute file paths into any editor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Path Relay

Quickly pick and insert file paths into any editor in VS Code.

Path Relay lets you navigate your project folder structure using a QuickPick UI and instantly insert relative or absolute file paths at the cursor position. Works for all file types — not just TOML.


Features

  • Browse workspace folders and subfolders recursively.
  • Insert relative or absolute paths.
  • Stops automatically when a file is selected or a folder is empty.
  • Keybindings for fast, frictionless access.
  • Works in any file, any language.

Usage

Commands

Command Shortcut (Win/Linux) Shortcut (macOS) Description
Pick and Insert Relative Path Ctrl+Alt+P Cmd+Alt+P Inserts a path relative to the workspace root
Pick and Insert Absolute Path Ctrl+Shift+Alt+P Cmd+Shift+Alt+P Inserts the absolute path of the selected file

Example

  1. Press Ctrl+Alt+P in the editor.
  2. A QuickPick UI opens showing folders/files in your workspace.
  3. Navigate using arrow keys or mouse.
  4. Select a file to insert its path at the cursor.
  5. Navigation ends automatically after a file is chosen.

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