Paste folder (and file) paths into VS Code's integrated terminal via the Explorer context menu.
Why?
VS Code lets you drag & drop files into the terminal to paste their paths, but folders are not supported due to an internal design limitation (DataTransfers.RESOURCES filters out directories). This extension fills that gap with a simple right-click menu.
Features
Right-click a folder in the Explorer → "Paste Path to Terminal"
Works for files too (configurable)
Automatically quotes paths containing spaces
Creates a new terminal if none is active
Settings
Setting
Default
Description
folderToTerminal.quoteStyle
"double"
Quote style: "double", "single", or "none"
folderToTerminal.showForFiles
true
Show the menu item for files as well
folderToTerminal.autoRun
false
Press Enter automatically after pasting
Usage
Open the Explorer sidebar
Right-click any folder (or file)
Click "Paste Path to Terminal"
The path appears in your active terminal, ready to use