A Visual Studio Code extension that provides real-time file size information directly in your status bar.
Features
📊 Real-time file size monitoring
🔄 Automatic updates when file content changes
📏 Smart size formatting (B, KB, MB)
🎯 Status bar integration with enhanced visibility
⚡ Lightweight and efficient
📁 Support for files up to 1GB
Installation
Open Visual Studio Code
Press Ctrl+P (Windows/Linux) or Cmd+P (macOS)
Type ext install VijayGangatharan.file-insights
Press Enter
Usage
The extension automatically displays the current file size in the status bar when:
Opening a file
Switching between files
Modifying file content
Status Bar Display
The file size is shown in the status bar with a smart format (B, KB, MB) based on the file size. The status bar display is right-aligned for better visibility.
How it looks?
How to activate/deactivate?
Commands
File Insights provides the following commands (accessible via Command Palette Ctrl+Shift+P or Cmd+Shift+P):
File insights: Activate - Manually activate the extension
File insights: Deactivate - Manually deactivate the extension
Requirements
Visual Studio Code version 1.90.0 or higher
Extension Settings
This extension includes the following settings:
fileInsights.sizeFormat: Customize how file sizes are displayed