https://github.com/darkokuzmanovic/cody-prompt-pusher
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.
https://github.com/darkokuzmanovic/cody-prompt-pusher
ai assistant chat cody context files productivity sourcegraph
Last synced: 3 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/darkokuzmanovic/cody-prompt-pusher
- Owner: DarkoKuzmanovic
- License: mit
- Created: 2024-10-29T23:31:31.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-10-30T23:41:54.000Z (7 months ago)
- Last Synced: 2025-01-16T21:25:55.128Z (5 months ago)
- Topics: ai, assistant, chat, cody, context, files, productivity, sourcegraph
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=quzma.cody-prompt-pusher
- Size: 2.53 MB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cody Prompt Pusher
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.
## Requirements
- Installed Souregraph's [Cody](https://marketplace.visualstudio.com/items?itemName=sourcegraph.cody-ai) extension in VSCode.
## Features
- ๐ฑ๏ธ 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## Demo

_Extension demo_## Installation
1. Download the VSIX file from the releases page
2. In VS Code, go to the Extensions view (Ctrl+Shift+X)
3. Click on the "..." menu at the top of the Extensions view
4. Select "Install from VSIX..." and choose the downloaded file## Usage
### Adding Single or Multiple Files
1. Select one or more files in the VS Code Explorer
2. Right-click and select "Add to Cody Chat"
3. Files will be added to your current Cody Chat session### Adding Entire Folders
1. Right-click on any folder in the VS Code Explorer
2. Select "Add to Cody Chat"
3. The extension will:
- Scan the folder recursively for all files
- Skip excluded patterns (e.g., node_modules)
- Show progress while collecting and processing files### Progress Tracking
- See real-time progress notifications
- View which file is currently being processed
- Cancel the operation at any time## Configuration
Access settings through:
1. Command Palette (Ctrl+Shift+P)
2. Type "Preferences: Open Settings (UI)"
3. Search for "Cody Prompt Pusher"Available settings:
```json
{
// 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"]
}
```### Configuration Details
| 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", ...] |## Requirements
- Visual Studio Code 1.60.0 or higher
- Sourcegraph Cody extension installed and configured## Known Issues
- Large folders may take some time to scan
- Processing many files at once may impact performance## Contributing
1. Fork the repository
2. Create your feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request## License
Distributed under the MIT License. See `LICENSE` file for more information.
## Credits
Developed by [Darko Kuzmanoviฤ](https://quz.ma)
## Release Notes
### 0.1.0
- 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.### 0.0.1
- 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.
## Support
For support, please:
1. Search [existing issues](link-to-issues)
2. Create a new issue if needed
3. Send me an email to [email protected]