Quickly pick and insert file paths into any editor in VS Code.
This extension allows you to navigate your project folder structure using a QuickPick UI and 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 folder is empty.
Keybindings for instant access without typing commands.
Works in any file, any language.
Usage
Commands
Command
Shortcut
Description
Pick and Insert Relative Path
Ctrl+Alt+P / Cmd+Alt+P (macOS)
Inserts a path relative to the workspace root
Pick and Insert Absolute Path
Ctrl+Shift+Alt+P / Cmd+Shift+Alt+P (macOS)
Inserts the absolute path
Example
Press Ctrl+Alt+P in the editor.
A QuickPick UI opens showing folders/files in your workspace.
Navigate using arrow keys or click.
Select a file to insert its path at the cursor.
Navigation stops automatically when a file is chosen.
Launch Extension Development Host: press F5 in VS Code.
Source code is in src/extension.ts.
Output bundle is in dist/extension.js (built with Webpack).
Key scripts:
npm run compile # Build the extension
npm run watch # Watch for changes
npm run lint # Run ESLint
npm run test # Run tests (if configured)