CodeClip History - Smart Clipboard Manager for VS Code
🚀 Features
CodeClip History is a powerful clipboard manager extension for Visual Studio Code that enhances your productivity with smart clipboard management features. It's particularly useful for Linux and Mac users who don't have built-in clipboard history functionality.
✨ Key Features
Smart Clipboard History
Automatically saves your clipboard history
Prevents duplicate entries
Pins important snippets for quick access
Persists across VS Code sessions
Language detection and display
Timestamp display for each entry
Efficient duplicate detection
Memory-optimized entry management
Smart Paste Operations
Paste and Reformat: Automatically formats pasted code
Paste as JSON: Converts and formats pasted content as JSON
Paste and Dedent: Removes unnecessary indentation from pasted code
User-Friendly Interface
Clean, modern UI integrated into VS Code
Quick access from the activity bar
Search functionality to find past entries
Tags support for better organization
Visual indicators for pinned entries
Entry actions (copy, paste, pin, delete)
Automatic panel refresh on clipboard changes
Cross-Platform Support
Works seamlessly on Windows, Linux, and macOS
Perfect for Linux and Mac users who need clipboard history
Consistent experience across all platforms
Platform-specific keyboard shortcuts
Native clipboard integration
Security & Performance
Secure webview implementation
Safe clipboard content handling
Proper sanitization of HTML content
Secure message passing between webview and extension
Efficient clipboard monitoring
Optimized entry storage and retrieval
Memory-efficient entry management
🎯 Why CodeClip History?
For Linux and Mac Users
Built-in Clipboard History: Unlike Windows, Linux and macOS don't have built-in clipboard history. CodeClip History fills this gap perfectly.
System Integration: Works seamlessly with your system's clipboard while providing additional features.
Productivity Boost: Access your clipboard history directly in your IDE without switching applications.
For All Users
Smart Paste Operations: Save time with intelligent paste operations that handle formatting automatically.
Code Snippet Management: Keep your frequently used code snippets organized and easily accessible.
Search and Tags: Quickly find past entries using search or custom tags.
Persistence: Your clipboard history is saved between sessions, so you never lose important snippets.
🛠️ Installation
Open VS Code
Press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac) to open the Extensions view
Search for "CodeClip History"
Click "Install"
🎮 Usage
Basic Operations
Click the clipboard icon in the activity bar to open the clipboard history panel
Use the search box to find past entries
Click the copy/paste buttons to use entries
Pin important entries for quick access
Use tags to organize your entries
Smart Paste Operations
Access these from the editor context menu (right-click):
Paste and Reformat: Automatically formats pasted code
Paste as JSON: Converts and formats pasted content as JSON
Paste and Dedent: Removes unnecessary indentation
Keyboard Shortcuts
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) and type "Show Clipboard History" to open the panel
Use the context menu for smart paste operations
⚙️ Configuration
The extension can be configured through VS Code settings:
{
"codeclip-history.maxEntries": 50, // Maximum number of entries to store
"codeclip-history.persistHistory": true, // Persist history across sessions
"codeclip-history.enableSmartPaste": true // Enable smart paste operations
}
🤝 Contributing
Contributions are welcome!
📝 License
This project is licensed under the MIT License - see the LICENSE file for details.
🙏 Acknowledgments
Thanks to all contributors and users
Inspired by the need for better clipboard management in VS Code
Built with ❤️ for the developer community
📫 Feedback and Support
Feature requests and suggestions are welcome
Star the repository if you find it useful!
🛠️ Technical Details
Built with TypeScript for robust type safety
Uses VS Code's Webview API for modern UI
Implements VS Code's extension API
Follows VS Code's extension guidelines
Uses VS Code's theming system for consistent look and feel
Secure message passing between webview and extension
Efficient resource management and cleanup
Made with ❤️ for developers who value productivity and efficiency.