AiDD Prompt Generator
Streamline Your Content Merging for AI-Driven Development
Effortlessly combine multiple files into a single file with customizable templates. Perfect for developers applying AI-driven development techniques.
Features
- Intuitive File Selection: Choose files easily using a visual file picker.
- Customizable Templates: Create and edit templates to structure your concatenated content.
- User-Friendly Template Editor: Manage your templates with a built-in, easy-to-use editor.
- Ignore Rules: Respect .gitignore by default and allow customization of ignore rules.
- Hot-key Support: Quickly open Prompt Generator with Cmd + M (customizable).
Requirements
- Visual Studio Code version 1.86.0 or higher
Installation
- Open Visual Studio Code
- Go to the Extensions view (Cmd+Shift+X)
- Search for "AiDD Prompt Generator"
- Click Install
Usage
Generate Prompt
- Open a workspace containing the files you want to select
- Press
Cmd+Shift+P
to open the Command Palette
- Type "Prompt Generator" and select the command
- In the file picker that appears, select the files you want to include in your prompt
- Choose a template from the list of available templates
- A new document will open with the concatenated content
Managing Templates
- Press
Cmd+Shift+P
to open the Command Palette
- Type "Edit Prompt Templates" and select the command
- The template editor will open, allowing you to add, edit, or delete templates
Keybindings
By default, you can use the following keybinding to trigger the Prompt Generator:
You can customize this keybinding in VS Code:
- Open the Keyboard Shortcuts editor (Code > Settings > Keyboard Shortcuts)
- Search for "Prompt Generator"
- Click on the pencil icon next to the command and enter your preferred keybinding
Project Setup for Development
If you want to contribute to the Prompt Generator or set it up for development, follow these steps:
- Clone the repository
- Install dependencies:
npm install
- To run the extension in debug mode:
- Press F5 or select "Run and Debug" from the sidebar
- Choose "Run Extension" from the dropdown
- To package the extension:
npm run package
Contributing
We welcome contributions to the Prompt Generator!
Known Issues
- Currently, there are no known issues. If you encounter any problems, please file an issue on our GitHub repository.
License
This project is licensed under the Apache-2.0 license - see the LICENSE file for details.
Support
If you encounter any issues or have any questions, please file an issue on our GitHub repository.
Happy coding with AI-driven development!