A powerful VS Code extension that enhances your clipboard experience by allowing you to copy/cut multiple text selections and manage a comprehensive clipboard history.
✨ Features
📋 Copy and Store: Copy selected text and automatically store it in clipboard history
✂️ Cut and Store: Cut selected text or entire line (VS Code default behavior) and store it in clipboard history
📚 Clipboard History: View all previously copied/cut items in a searchable list
📝 Paste from History: Select and paste any item from your clipboard history - chosen item becomes your new clipboard favorite
⚡ Direct Paste: Paste directly from system clipboard without opening history
🗑️ Delete from History: Remove specific items from clipboard history
🧹 Clear History: Empty the entire clipboard history with one command
🚫 Duplicate Prevention: Automatically prevents duplicate entries in history
📊 History Limit: Configurable limit (default: 10) with automatic oldest item removal
💾 Persistent Storage: History persists across VS Code sessions
⌨️ Keybindings
Action
Windows/Linux
macOS
Description
Copy and Store
Ctrl+C
Cmd+C
Copy selected text to clipboard and history
Cut and Store
Ctrl+X
Cmd+X
Cut selected text to clipboard and history
Show History
Ctrl+Shift+H
Cmd+Shift+H
Display clipboard history
Paste from History
Ctrl+Shift+V
Cmd+Shift+V
Select from history - your choice becomes the next quick-paste item
Direct Paste
Ctrl+V
Cmd+V
Paste directly from system clipboard
Delete from History
Ctrl+E
Cmd+E
Remove item from history
Clear All History
Ctrl+Shift+E
Cmd+Shift+E
Empty entire clipboard history
Set History Limit
Ctrl+Shift+L
Cmd+Shift+L
Configure clipboard history limit (1-100)
🚀 Usage
Basic Operations
Copy/Cut Text: Select any text and use Ctrl+C or Ctrl+X (cuts entire line if nothing selected) - automatically stored in history
View History: Press Ctrl+Shift+H to see all your copied items
Paste from History: Press Ctrl+Shift+V to select and paste any previous item
Set Limit: Press Ctrl+Shift+L (when no text selected) to configure history limit
Clean Up: Use Ctrl+E to delete specific items or Ctrl+Shift+E to clear everything
Smart Features
No Duplicates: The same text won't be stored multiple times
Persistent Storage: History persists across VS Code sessions
Smart Limit: Configurable history limit (default: 10) with automatic cleanup
VS Code Integration: Cut behavior matches VS Code defaults (entire line when no selection)
Quick Access: All operations work with simple keyboard shortcuts
📋 Command Palette
You can also access all features through the Command Palette (Ctrl+Shift+P):
CopyStack: Copy and Store
CopyStack: Cut and Store
CopyStack: Show Clipboard History
CopyStack: Paste from Clipboard
CopyStack: Direct Paste
CopyStack: Delete from Clipboard History
CopyStack: Clear Clipboard History
CopyStack: Set Clipboard History Limit
🔧 Requirements
VS Code 1.94.0 or higher
📦 Installation
Download the .vsix file
Open VS Code
Go to Extensions (Ctrl+Shift+X)
Click the "..." menu → "Install from VSIX..."
Select the downloaded file
Or install via command line:
code --install-extension copystack-1.2.3.vsix
🎯 Use Cases
Code Snippets: Store frequently used code blocks
Multiple Edits: Copy several pieces of text and paste them in different locations
Research: Collect text from various sources and organize them
Documentation: Gather content from multiple files for documentation
🤝 Contributing
Feel free to submit issues and enhancement requests!
📄 License
This extension is provided as-is for educational and productivity purposes.
Enjoy enhanced clipboard management with CopyStack! 🎉