Close Idle Tabs
Automatically closes inactive and unmodified tabs to keep your workspace clean.
Features
🔍 Automatic idle detection - Tracks tab activity
Smart Tab Management - Automatically detects and closes inactive tabs
Customizable Timeout - Set idle time from 30 seconds to several hours
Pinned Tab Protection - Never closes pinned tabs
Visual Feedback - See idle tab count in status bar
##Quick Setup
1.Install the extension
2.The extension starts working automatically
3.Configure settings to match your workflow
4.Check status bar for idle tab count
Commands
Open Command Palette (Ctrl+Shift+P) and run:
Close Idle Tabs: Close Idle Tabs Now - Manually close all idle tabs immediately
Close Idle Tabs: Show Idle Tabs Stats - View detailed tab statistics
Extension Settings
Configure these in your VS Code settings:
{
"closeIdleTabs.idleTimeout": 900,
"closeIdleTabs.checkOnlyUnmodified": true,
"closeIdleTabs.keepPinnedTabs": true,
"closeIdleTabs.ignoredFilePatterns": [],
"closeIdleTabs.closeOnSave": false,
"closeIdleTabs.enableStatusBar": true
}
Examples
Basic Configuration
Set idle timeout to 10 minutes:
{
"closeIdleTabs.idleTimeout": 600,
}
| |