Bundler VSCode Extension
Track and merge multiple files into a single view for easy copying to LLMs.
Features
- Right-click to Track: Right-click any file in the explorer and select "Add to Bundler Track List"
- Workspace-only Tracking: Only files within the current workspace can be tracked
- Sidebar View: Click the Bundler icon in the activity bar to view merged content
- Formatted Output: Each file is displayed with a beautiful box header showing its relative path
- One-click Copy: Copy all merged content to clipboard with a single click
Usage
Add Files to Track
- Right-click on any file in the VSCode Explorer
- Select "Add to Bundler Track List"
- Files outside the current workspace cannot be tracked
View Merged Content
- Click the Bundler icon (📦) in the activity bar
- The sidebar will show all tracked files merged with box headers
Copy Content
- Click the "Copy All" button in the Bundler sidebar
- Or use the copy icon in the view title bar
- The merged content is copied to your clipboard, ready to paste to LLMs
Manage Tracked Files
- Use "Clear Bundler Track List" to remove all tracked files
- Individual files are automatically removed if they no longer exist
Each tracked file appears in the merged view with a formatted header:
╭──────────────╮
│ @src/main.js │
╰──────────────╯
function hello() {
console.log("Hello World!");
}
Installation
From Source
- Clone or download this extension
- Open the folder in VSCode
- Press
F5 to open a new Extension Development Host window
- The Bundler extension will be active in the new window
Package as VSIX
npm install -g vsce
cd bundler-vscode
vsce package
code --install-extension bundler-1.0.0.vsix
Requirements
Author
Djanghao
License
MIT
| |