A VS Code extension to copy file paths, folder structures, and contents from the file explorer to the clipboard β perfect for sharing with ChatGPT, Gemini, Perplexity, Claude, or even real humans.
- π Create File or Folder from Clipboard β Creates one or multiple files or folders based on the paths in your clipboard.
- π Copy Folder Structure β Copies the folder structure without file contents.
- π Copy Folder Structure and Content β Copies the folder structure along with all file contents.
- π Copy File(s) Content with Path β Copies the file content with its full path as a header.
- π Copy Root Folder Path β Copies the workspace root folder path.
- π Copy Root Folder Structure β Copies the root folder structure without file contents.
- π Copy Root Folder Structure and Content β Copies the root folder structure with file contents (respects size/file limits).
- π Copy File(s) β Copies a file path to the clipboard for pasting into another folder.
- π Paste File(s) β Pastes a previously copied file into the selected folder.
- Right-click on any file or folder in the VS Code explorer.
- Select an option from the Clipster π submenu.
- Copy file/folder paths to your clipboard (one per line).
- Right-click a directory in the VS Code explorer.
- Select π Create File or Folder from Clipboard.
- Confirm when prompted (for multi-line content).
Paths ending in / or \ are created as folders. Everything else is created as a file. Paths are relative to the directory you right-clicked.
Right-click any folder and choose a copy option. The output uses Unicode tree characters:
π₯οΈ clipster
Path: c:\projects\clipster
β£ π src/
β β£ π utils/
β β β π helper.ts
β β π extension.ts
β£ π resources/
β β π icon.png
β π README.md
The tree output respects .gitignore patterns and your custom ignore settings.
Customize Clipster via File > Preferences > Settings and search for "Clipster".
| Setting | Default | Description |
|---|---|---|
clipster.showEmojis |
true |
Show emoji icons (π π π₯οΈ) in tree output and menus. Requires reload. |
clipster.showInClipsterSubmenu |
true |
Show commands in a submenu or directly in the context menu. |
Toggle individual commands on or off in the context menu:
| Setting | Default | Command |
|---|---|---|
clipster.showCreateFileFromClipboard |
true |
Create File or Folder from Clipboard |
clipster.showCopyFolderStructure |
true |
Copy Folder Structure |
clipster.showCopyFolderStructureAndContent |
true |
Copy Folder Structure and Content |
clipster.showCopyFileContentWithHeader |
true |
Copy File(s) Content with Path |
clipster.showCopyFileContents |
true |
Copy File Contents (no path) |
clipster.showCopyRootFolderPath |
true |
Copy Root Folder Path |
clipster.showCopyRootFolderStructure |
true |
Copy Root Folder Structure |
clipster.showCopyRootFolderStructureAndContent |
true |
Copy Root Folder Structure and Content |
clipster.showCopyFile |
true |
Copy File(s) |
clipster.showPasteFile |
true |
Paste File(s) |
| Setting | Default | Description |
|---|---|---|
clipster.maxRootFiles |
10 |
Maximum number of files to include when copying root folder content. |
clipster.maxRootSizeKB |
500 |
Maximum total size (KB) when copying root folder content. |
clipster.additionalIgnores |
[] |
Custom glob patterns to ignore (in addition to .gitignore). |
Clipster automatically respects .gitignore patterns when copying folder structures. Add custom patterns via the clipster.additionalIgnores setting:
"clipster.additionalIgnores": [
"*.log",
"dist/**",
"coverage/**"
]From VS Code Marketplace: Search for "Clipster" in the Extensions panel.
From source:
npm install
npm run build
npm run install-extensionOr use the interactive dev menu:
npm run menu| Script | Description |
|---|---|
npm run menu |
Interactive dev menu with all commands |
npm test |
Run Jest tests with coverage |
npm run test:quick |
Run only changed tests |
npm run build |
TypeScript check + production webpack build |
npm run type-check |
TypeScript compiler check only |
npm run install-extension |
Package VSIX and install locally |
npm run clean-build-install |
Full clean + version bump + build + install |
This project is licensed under the MIT License.