Quick Prompt – AI Prompt Manager & Clipboard History for VS Code

繁體中文 | English

🔥 New in v0.2.0: Version History System
Never lose a prompt iteration again. The new Version History System automatically tracks every change you make.

Core Features
- 🕒 Linear History: Automatic tracking of every save.
- 📌 Milestones: Tag stable versions or important drafts.
- ↩️ Soft Checkout: Restore old versions safely without overwriting immediately.
⚖️ Visual Diff View
One-click comparison between history and current state. Use the Diff View to verify changes before restoring.

🚀 What is Quick Prompt?
Quick Prompt is a VS Code extension that helps developers manage, organize, and instantly access AI prompts and clipboard history. It combines a prompt library with clipboard tracking, allowing you to build a personalized database of high-quality prompts for ChatGPT, Copilot, and Claude without switching context.
✨ Key Features
📚 Prompt Management
- 🤖 AI-Powered Titles: Automatic semantic title generation using local AI (Qwen1.5-0.5B).
- 🎯 Lightning Fast Search: Press
Alt+P to search prompts, hit Enter to copy.
- 🚀 Quick Add: Right-click selected text → "Quick Add Prompt" (or press
Alt+Shift+S).
- 🎨 Visual Interface: Sidebar displays popularity with icons (🔥/⭐/📝).
- ✏️ Native Editing: Edit prompts like regular files with full VSCode support.
🕒 Version Control (New!)
- Track Everything: Every change is recorded.
- Smart Retention: Keeps history clean by pruning intermediate edits while preserving milestones.
- Diff Comparison: Visually check what changed.
📋 Clipboard History
- Auto Capture: Never lose copied text. Tracks VSCode and external apps.
- Smart Tracking: Usage counts and last used times help identify golden prompts.
- Project Isolation: Workspace-specific prompt collections.

📸 Screenshots (AI Generated)
Quick Search in Action

Unified search interface for both prompts and clipboard history

Organized view with prompts and clipboard history
🚀 Quick Start
First Time Setup
- Open any project folder in VSCode
- The extension will automatically create
.vscode/prompts.json
- Press
Alt+P (Mac: Opt+P) to start using
Basic Usage
Method 1: Quick Search (Recommended) ⚡
- Press
Alt+P to open the unified search
- Browse Prompts and Clipboard History in one place
- Type keywords to filter
- Press
Enter to copy to clipboard
- Paste anywhere with
Ctrl+V
- Click the Quick Prompt icon in the Activity Bar
- My Prompts section:
- Click to copy
- Right-click to move up/down
- Inline buttons: Copy, Pin, Edit, Delete
- Clipboard History section:
- Click to copy
- Pin to convert to permanent prompt
- Inline buttons: Copy, Pin, Edit, Delete
Icon Meanings
- 🔥: Hot (used >= 10 times)
- ⭐: Frequent (used >= 5 times)
- 📝: Normal (used > 0 times)
- ⚪: Unused
- 📌: Pinned
📝 Managing Prompts
Adding Prompts
Method 1: Add from Selection (Fastest) 🚀
- Select text in the editor
- Right-click → "Quick Add Prompt" (or press
Alt+Shift+S)
- Done! Title is auto-generated
Method 2: Smart Add Mode ⚡
- Click ➕ Add button in sidebar
- In the input box:
- Auto Mode: Paste content directly (auto-generates title)
- Manual Mode: Use
Title::Content format
- Done!
Method 3: From Clipboard History
- Find the item in Clipboard History
- Click the 📌 Pin button
- Automatically converts to permanent prompt
Editing Prompts
- Click the ✏️ Edit button to open in native editor
- Edit like a regular file
- Press
Ctrl+S to save
- Full support for Undo/Redo, Auto Save, Format Document
Organizing Prompts
- Pin: Click 📌 to pin important prompts to the top
- Sort: Right-click → Move Up/Down to manually arrange
- Delete: Click 🗑️ to remove (no confirmation needed)
Using Version History (New)
- View History: Expand any prompt in the sidebar.
- Compare: Click on any historical version to open the Diff View.
- Restore: Right-click a version and select Apply Version to bring it back.
- Milestones: Tag important versions (like "V1.0 Stable") to keep them safe forever.
📋 Clipboard History
Auto Capture
The extension automatically captures clipboard content from:
- VSCode editor: Instant capture when you copy
- External apps: Captured when you switch back to VSCode
- Background polling: Every 5 seconds (configurable)
Smart Filtering
- ✅ Deduplication (no repeated entries)
- ✅ Minimum length filter (default: 10 characters)
- ✅ Excludes pure numbers
- ✅ Auto-clean old items (default: 7 days)
Managing History
- View: Check recent items in sidebar
- Copy: Click to copy again
- Pin: Convert to permanent prompt
- Edit: Click edit to save as prompt and open editor
- Delete: Remove individual items
- Clear All: Click the clear button in sidebar title
⚙️ Configuration
Settings
Open VSCode Settings and search for "Quick Prompt":
Clipboard History
quickPrompt.clipboardHistory.enabled: Enable/disable auto tracking (default: true)
quickPrompt.clipboardHistory.maxItems: Maximum history items (default: 20)
quickPrompt.clipboardHistory.enablePolling: Enable background polling (default: true)
quickPrompt.clipboardHistory.pollingInterval: Polling interval in ms (default: 5000)
quickPrompt.clipboardHistory.minLength: Minimum content length (default: 10)
quickPrompt.clipboardHistory.autoCleanDays: Auto-clean after N days (default: 7)
AI Features
quickPrompt.ai.enabled: Enable/disable AI-powered features (default: true)
quickPrompt.ai.autoGenerateTitle: Automatically generate titles using AI (default: true)
File Location
- Workspace Mode:
.vscode/prompts.json (independent per project)
- Fallback Mode: Uses extension directory if no workspace is open
Keyboard Shortcuts
| Function |
Windows/Linux |
Mac |
| Search Prompt |
Alt+P |
Opt+P |
| Add from Selection |
Alt+Shift+S |
Opt+Shift+S |
💡 Best Practices
- Save on the Fly: See a useful prompt? Select and press
Alt+Shift+S
- Use Clipboard History: Don't worry about losing copied prompts - they're auto-saved
- Pin Important Ones: Convert frequently used clipboard items to permanent prompts
- Organize Manually: Use right-click to arrange prompts in your preferred order
- Version Control: Add
.vscode/prompts.json to Git to share with your team
🎯 Use Cases
For AI Development
- Save frequently used ChatGPT/Copilot/Claude prompts
- Quick access to debugging prompts
- Organize code review templates
For Content Creation
- Store writing prompts and templates
- Quick access to formatting instructions
- Manage translation prompts
For Team Collaboration
- Share best prompts via Git
- Standardize team communication with AI
- Build a prompt library together
🌐 Internationalization
Quick Prompt supports multiple languages:
- 🇺🇸 English
- 🇹🇼 繁體中文 (Traditional Chinese)
- 🇨🇳 简体中文 (Simplified Chinese)
The extension automatically uses your VSCode language setting.
🤝 Recommended Companion
🗂️ VirtualTabs
Enhance your AI workflow.
Quick Prompt helps you manage what to tell the AI. Pair it with VirtualTabs to manage where the AI looks.
- Manage Context: Group related files across directories regardless of location.
- AI-Ready: Create precise file sets to paste into your LLM context.
Get VirtualTabs on VS Code Marketplace | Open VSX Registry
📄 License
MIT License
Enjoy efficient prompt management! 🚀
Made with ❤️ for AI developers