Cody Prompt Pusher is a Visual Studio Code extension that enhances your workflow with Sourcegraph's Cody by allowing you to easily add files and folders to Cody Chat through the context menu.
- Installed Souregraph's Cody extension in VSCode.
- 🖱️ Right-click to add files to Cody Chat
- 📁 Support for recursive folder processing
- 📊 Progress tracking with detailed status updates
- ⚙️ Configurable file processing settings
- 🎯 Smart file exclusion patterns
- 📝 Multiple file selection support
- Download the VSIX file from the releases page
- In VS Code, go to the Extensions view (Ctrl+Shift+X)
- Click on the "..." menu at the top of the Extensions view
- Select "Install from VSIX..." and choose the downloaded file
- Select one or more files in the VS Code Explorer
- Right-click and select "Add to Cody Chat"
- Files will be added to your current Cody Chat session
- Right-click on any folder in the VS Code Explorer
- Select "Add to Cody Chat"
- The extension will:
- Scan the folder recursively for all files
- Skip excluded patterns (e.g., node_modules)
- Show progress while collecting and processing files
- See real-time progress notifications
- View which file is currently being processed
- Cancel the operation at any time
Access settings through:
- Command Palette (Ctrl+Shift+P)
- Type "Preferences: Open Settings (UI)"
- Search for "Cody Prompt Pusher"
Available settings:
{
// Delay between processing files (in milliseconds)
"codyPromptPusher.delayBetweenFiles": 200,
// Maximum number of files to process at once
"codyPromptPusher.maxFilesAtOnce": 15,
// Show notification for each processed file
"codyPromptPusher.showNotifications": true,
// Patterns to exclude when scanning folders
"codyPromptPusher.excludePatterns": ["node_modules", ".git", "dist", "build", ".next", ".vscode"]
}
Setting | Description | Default |
---|---|---|
delayBetweenFiles | Time to wait between processing files | 200ms |
maxFilesAtOnce | Maximum number of files to process in one operation | 15 |
showNotifications | Show success notification for each file | true |
excludePatterns | Patterns to skip when scanning folders | ["node_modules", ...] |
- Visual Studio Code 1.60.0 or higher
- Sourcegraph Cody extension installed and configured
- Large folders may take some time to scan
- Processing many files at once may impact performance
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature
) - Commit your changes (
git commit -m 'Add amazing feature'
) - Push to the branch (
git push origin feature/amazing-feature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE
file for more information.
Developed by Darko Kuzmanović
- Replaced multiple stacking notifications with a single progress bar
- Added one summary notification upon completion
- Moved "Add to Cody Chat" menu item to a more logical position above the Share menu
- Changed icon
- Improved demo.gif
- Tweaked default values.
- Initial release
- Support for files and folders
- Configurable processing options
- Progress tracking
- Recursive folder scanning
Note: This extension is not officially affiliated with Sourcegraph or Cody.
For support, please:
- Search existing issues
- Create a new issue if needed
- Send me an email to darko@quz.ma