VS Code Tab Cleaner Extension
Keep Your VS Code Workspace Clutter-Free and Organized!
VS Code Tab Cleaner is a powerful VS Code extension designed to streamline your development workflow by automatically managing and cleaning up your open tabs. Say goodbye to cluttered tabs and hello to efficiency!
Whether you're dealing with files that have been moved or deleted, empty unsaved tabs, multiple unsaved documents, or even duplicate files, this extension helps you maintain a tidy, efficient, and focused workspace.
Key Features
List Missing Files:
Quickly scan and list all open tabs that reference files no longer available on your system.
Close Missing File Tabs:
Automatically close tabs linked to missing files, so you don’t waste time searching for files that no longer exist.
Close Empty Tabs:
Detect and close empty (or whitespace-only) unsaved tabs, keeping your editor clutter-free.
Close Duplicate Tabs:
Automatically identify and close duplicate tabs for the same file, ensuring you only have one instance open.
Combine Unsaved Untitled Tabs:
Merge multiple unsaved (untitled) tabs into one combined document. Each section displays the original untitled tab’s name and its creation timestamp for easy reference. Limited to 80 tabs per execution.
List Unsaved Tabs:
Get a clear overview of all your unsaved untitled tabs, including their content, line count, character count, and word count.
Auto Cleanup Tabs:
The ultimate one-command solution! Auto Cleanup first combines unsaved untitled tabs (with creation dates) and then cleans up missing, empty, and duplicate tabs in one go, giving you a pristine workspace with a single command.
Automatic Temp Logs:
Each time you run List Missing Files, List Unsaved Tabs, Combine Unsaved Untitled Tabs, or Auto Cleanup Tabs, the results are saved to a timestamped text file in your operating system's temporary folder. The file opens automatically in VS Code. Even when no entries are found, a file is created with a short message indicating the result.
Why Choose VS Code Tab Cleaner?
- Boost Productivity: Spend less time managing tabs and more time coding.
- Streamline Your Workspace: Automatically clean up unused, empty, missing, and duplicate file tabs.
- Enhance Focus: Reduce visual clutter and distractions in your development environment.
- Optimized: Perfect for developers looking for a hassle-free tab management and organization solution in VS Code.
How to Activate & Use
Open the Command Palette:
Press Ctrl+Shift+P (or Cmd+Shift+P on macOS).
Available Commands:
- List Missing Files:
Type and select "VS Code Tab Cleaner: List Missing Files" to view all tabs referencing non-existent files.
- Close Missing Files:
Type and select "VS Code Tab Cleaner: Close Missing Files" to automatically close tabs with missing files.
- Close Empty Tabs:
Type and select "VS Code Tab Cleaner: Close Empty Tabs" to remove empty or whitespace-only tabs.
- Close Duplicate Tabs:
Type and select
"VS Code Tab Cleaner: Close Duplicate Tabs" to automatically close duplicate tabs for the same file.
- Combine Unsaved Untitled Tabs:
Type and select "VS Code Tab Cleaner: Combine Unsaved Untitled Tabs" to merge multiple unsaved tabs into one, with each section labeled with its creation date. Limited to 80 tabs per execution.
- List Unsaved Tabs:
Type and select
"VS Code Tab Cleaner: List Unsaved Tabs" to view all your unsaved untitled tabs.
- Auto Cleanup Tabs:
Type and select
"VS Code Tab Cleaner: Auto Cleanup Tabs" to run all cleanup tasks in one command—combining unsaved tabs and closing missing, empty, and duplicate tabs.
The results of the commands above are automatically written to a timestamped text file in your operating system's temporary directory and opened in VS Code. If no entries are found, the file will contain a short note indicating that.
Installation
- Launch VS Code.
- Go to the Extensions view by clicking on the Square icon on the Sidebar or pressing
Ctrl+Shift+X .
- Search for "VS Code Tab Cleaner".
- Click "Install".
Or
Via VS Code Marketplace:
https://marketplace.visualstudio.com/items?itemName=imserrano.vs-code-tab-cleaner
Manually:
Download the .vsix file from the repository and install it in VS Code by selecting Extensions → ... → Install from VSIX....
Get Started Today!
Transform your VS Code experience with VS Code Tab Cleaner and enjoy a cleaner, more organized development environment. Say goodbye to cluttered tabs and hello to efficiency!
Feedback mail
| |