Context Cleaner
Leer en Español

Context Cleaner is a powerful VS Code extension designed to help developers maintain a clean and efficient development environment. It goes beyond simple temporary file deletion, offering advanced tools for managing IDE context, browser sessions, network settings, and AI configuration.
Installation
Install through VS Code extensions. Search for Context Cleaner
Visual Studio Code Market Place: Context Cleaner
Can also be installed in VS Code: Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
ext install yeoudev.contextcleaner
Usage
Using Command Palette (CMD/CTRL + Shift + P)
- CMD + Shift + P -> Format Document
OR
- Select the text you want to Prettify
- CMD + Shift + P -> Format Selection
Keyboard Shortcuts
Cmd + Opt + C (Mac) / Ctrl + Alt + C (Windows): ContextCleaner Main Menu
Commands
ContextCleaner: Main Menu - Open the central dashboard. Shortcut: Cmd+Opt+C (Mac) / Ctrl+Alt+C (Windows).
ContextCleaner: Clean Current IDE - NEW! Smartly cleans only the tool you are currently using.
ContextCleaner: Deep Clean - Wipe traces from ALL installed development tools.
ContextCleaner: Browser Recordings - Manage or schedule deletion of browser recordings.
ContextCleaner: System Cleaner - (Legacy) Access advanced cleaning options.
ContextCleaner: Session Manager - Backup or restore profiles.
ContextCleaner: Clear Workspace Context - Reset IDE storage.
Features
System Cleaner
Keep your development machine running smoothly by removing unnecessary clutter.
- Targeted Cleaning: Automatically detects if you are using VS Code, Cursor, or Antigravity and cleans only the files relevant to that tool.
- Deep Clean: CAUTION: Performs a system-wide clean of all development tools traces. Data will be permanently deleted.
- Temp Files: Cleans system temporary files (skipped in "Targeted" mode for safety).
- Prefetch: Clears Windows prefetch data to potentially improve privacy/performance.
- Application Traces: Specifically targets cache and traces from development tools like Antigravity, JetBrains IDEs, VS Code, and Cursor.
- Smart Protections: Automatically protects sensitive configuration files (like
antigravity/knowledge and user_settings) and Extensions folders from accidental deletion.
- Safe "Dry Run": An delete mode that sumarize the deleted files. Use this to sumarize deletions
Browser Recordings
Manage the recordings created by the internal browser (Antigravity).
- Manage: View and delete recordings to free up space.
- Schedule: Set up automatic deletion (Daily or Weekly) of previous days' recordings.
Session Manager
Manage and safeguard your browser and application profiles.
- Backup: Create "Light" (Cookies, Login Data, Preferences) or "Full" backups of your browser profiles (Chrome, Edge, Brave, Opera). Also supports backing up Antigravity Desktop and JetBrains IDE configurations.
- Restore: Easily restore previous sessions to the correct location.
- Privacy-Focused: Filenames are sanitized and timestamped.
Context Cleaner
Manage the "memory" of your IDE to fix state-related bugs or free up space.
- Current Workspace: Wipes extension data/state for the currently open project.
- All Workspaces: Performs a "Factory Reset" of extension storage for all projects ever opened.
MCP Inspector
Debug and inspect your Model Context Protocol (MCP) setup.
- Config Reader: Smartly reads MCP configurations relevant to your Current IDE and Active Workspace (e.g. VS Code, Cursor, or Antigravity).
- Active Management: Enable or disable MCP servers directly from the extension interface. Changes are written back to your config files automatically.
- Quick Refresh: Instantly re-scan all your configuration files with a single click from the sidebar.
- Workspace Aware: Filters MCPs by relevance to your current project (Angular, React, Python, etc.).
- Command Export: Select a server to copy its launch command to the clipboard for testing or manual execution.
| IDE/Tool |
Cleaner |
Session Manager |
MCP Inspector |
| VS Code |
✅ |
✅ |
✅ |
| Cursor |
✅ |
✅ |
✅ |
| Antigravity (Gemini) |
✅ |
✅ |
✅ |
| WebStorm / JetBrains |
✅ |
✅ |
✅ |
Requirements
- VS Code: Version 1.80.0 or higher.
- OS: Windows, macOS, or Linux.
Extension Settings
You can customize the extension's appearance and shortcuts in your VS Code settings:
Status Bar Customization:
contextcleaner.statusBar.showMainMenu: Show/Hide the main menu shortcut (Default: true)
contextcleaner.statusBar.showCleanCurrent: Show/Hide direct "Clean Current" button (Default: false)
contextcleaner.statusBar.showCleanAll: Show/Hide direct "Deep Clean" button (Default: false)
contextcleaner.statusBar.showBrowserRecordings: Show/Hide "Recordings" button (Default: false)
contextcleaner.statusBar.showSessionManager: Show/Hide "Backup" button (Default: false)
License
This project is open source.
Enjoy a cleaner context!