Your intelligent companion for managing and optimizing coding prompts in VS Code
Ever found yourself rewriting the same prompts for AI assistants? CodePrompt Companion streamlines your workflow by providing a smart, organized way to manage and reuse your coding prompts. Built specifically for web developers, it helps you maintain a curated library of effective prompts for HTML, CSS, JavaScript, and more.
- Category-Based Structure: Instantly access prompts organized by technology (HTML, CSS, JS, React)
- Custom Categories: Create your own categories to match your workflow
- Quick Search: Find the right prompt with fuzzy search across all categories
- One-Click Favorites: Star frequently used prompts for instant access
- Favorites View: All your essential prompts in one place
- Cross-Session Persistence: Your favorites stay synchronized across VS Code sessions
- Context-Aware Suggestions: Get prompt suggestions based on your current code
- OpenAI Integration: Leverage GPT models for enhanced prompt generation
- Customizable Settings: Fine-tune the AI to match your preferences
⌘/Ctrl + P → "Find Prompt"
- Fuzzy search across all prompts
- Filter by category or tags
- Sort by usage or relevance
-
Install from VS Code Marketplace:
ext install codeprompt-companion
-
Open the CodePrompt Companion sidebar:
- Click the CodePrompt icon in the activity bar, or
- Press
⌘/Ctrl + Shift + P
and type "Show CodePrompt"
-
Start using prompts:
- Browse categories in the sidebar
- Star useful prompts (click the ⭐)
- Use the search to find specific prompts
-
Add a Custom Prompt:
- Click the + icon in the sidebar
- Enter prompt details and category
- Optionally add tags for better organization
-
Using Favorites:
- Click the ⭐ next to any prompt
- Access favorites from the dedicated view
- Remove from favorites with one click
-
Quick Search:
- Press
⌘/Ctrl + P
- Type
>Find Prompt
- Enter your search terms
- Press
-
Generate Context-Aware Prompts:
- Select code in editor
- Press
⌘/Ctrl + Shift + P
- Choose "Generate AI Prompt"
-
Configure AI Settings:
{ "codepromptCompanion.ai.model": "gpt-4", "codepromptCompanion.ai.temperature": 0.7 }
{
"codepromptCompanion.features.favorites": true,
"codepromptCompanion.features.history": true,
"codepromptCompanion.ai.enabled": true,
"codepromptCompanion.ai.apiKey": "your-api-key"
}
Command | Shortcut |
---|---|
Show CodePrompt | ⌘/Ctrl + Shift + P → "Show CodePrompt" |
Quick Find | ⌘/Ctrl + P → ">Find Prompt" |
Add Custom | ⌘/Ctrl + Shift + P → "Add Custom Prompt" |
We welcome contributions! Here's how you can help:
-
Report Issues
- Use the issue tracker
- Include VS Code version
- Describe steps to reproduce
-
Submit PRs
- Fork the repository
- Create a feature branch
- Submit a pull request
-
Share Prompts
- Export your useful prompts
- Submit them via PR
- Help build our prompt library
MIT License - feel free to use in your own projects!
Need help? Found a bug? Have a suggestion?
Made with ❤️ by developers for developers