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
Press Ctrl+Alt+P in the editor.
A QuickPick UI opens showing folders/files in your workspace.
Navigate using arrow keys or mouse.
Select a file to insert its path at the cursor.
Navigation ends automatically after a file is chosen.