Clipboard Tracker is a Visual Studio Code extension that monitors your clipboard history, allowing you to view, filter, copy, and manage items you've copied over time. It provides a convenient sidebar view with powerful filtering options to help you find and reuse clipboard content efficiently.
Features
Clipboard Monitoring: Automatically tracks everything you copy to your clipboard.
Persistent History: Saves your clipboard history across VS Code sessions.
Rich Filtering: Filter by date (all, today, last hour), content type (URL, multiline, numbers, tags, text), or specific text content.
Quick Actions:
Click any item to copy it back to your clipboard
Delete individual entries
Apply filters directly from the sidebar
Visual Indicators: Icons help identify content types at a glance
Search: Find specific clipboard entries with text search
Reset Filters: Quickly clear all filters to view full history
Installation
Install the extension from the VS Code Marketplace (search for "Clipboard Tracker")
Or, clone this repository and run:
npm install
vsce package
Usage
Open the sidebar in VS Code
Look for the "Clipboard Tracker" view (scissors icon)
Start copying text - it will appear in the view automatically
Use the filter buttons at the top to narrow down your history
Click any item to copy it again, or right-click for more options
Commands
Clipboard Tracker: Show Clipboard History - Displays a confirmation message
Clipboard Tracker: Filter History - Opens a quick pick menu for filtering
(Right-click items for context menu options)
Filter Options
Date Filters: All Dates, Today, Last Hour
Type Filters: All Types, URLs, Multiline, Numbers, Tags, Text
Text Search: Filter by specific content
Reset: Clear all filters
Development
To contribute or modify:
Clone the repository
Run npm install
Open in VS Code and press F5 to debug
Submit pull requests with improvements!
Key Files
src/extension.ts - Main extension logic
package.json - Extension manifest
Contributing
Contributions are welcome! Please:
Fork the repository
Create a feature branch
Submit a pull request with clear descriptions of changes