Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>file-size-viewerNew to Visual Studio Code? Get it now.
file-size-viewer

file-size-viewer

yash gupta

|
24 installs
| (0) | Free
View file size of each file in your project
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📂 File Size Viewer - VS Code Extension

VS Code Marketplace

Display file sizes directly in the VS Code file explorer!

✨ Features

✅ Show file sizes next to each file in the explorer. ✅ Display folder sizes when expanded. ✅ Customizable thresholds for small, medium, and large files. ✅ Colored icons to indicate file sizes (🔴 Red for large, 🟡 Yellow for medium, 🟢 Green for small). ✅ A dashboard panel to view the largest files in your project.

📥 Installation

From the VS Code Marketplace

  1. Open VS Code
  2. Go to Extensions (Ctrl + Shift + X)
  3. Search for File Size Viewer
  4. Click Install

Manual Installation

  1. Download the .vsix file from Releases
  2. Open VS Code and run:
    code --install-extension file-size-viewer.vsix
    

🚀 Usage

Once installed, file sizes will appear next to files in the Explorer.

  • Set File Size Thresholds Go to Settings (Ctrl + ,) and search for File Size Viewer. Customize thresholds for small, medium, and large files.

  • Refresh File Sizes If file sizes are not updating, right-click the explorer and click: Refresh File Size Viewer.

⚙️ Configuration

Modify settings via VS Code settings:

Setting Description Default Value
fileSizeViewer.smallSize Files smaller than this are green 🟢 1MB
fileSizeViewer.mediumSize Files between small and large are yellow 🟡 10MB
fileSizeViewer.largeSize Files larger than this are red 🔴 50MB

🛠️ Development

Clone the repository

git clone https://github.com/yourusername/file-size-viewer.git
cd file-size-viewer
npm install

Run in VS Code

  1. Open the project in VS Code
  2. Press F5 to run the extension in a new Extension Host Window

📜 License

MIT License © 2025 Your Name


🌟 If you find this extension useful, give it a star ⭐ on GitHub!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft