Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>File Stats ExplorerNew to Visual Studio Code? Get it now.
File Stats Explorer

File Stats Explorer

Toolsmith Labs

| (0) | Free
File sizes, line counts and modified dates in a sortable Explorer tree with active-file status bar and workspace analytics.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

File Stats Explorer

See file sizes, line counts and modified dates in a sortable Explorer tree, plus active-file size and line count in the status bar.

What It Does

  • Adds a File Stats tree view to the Explorer sidebar showing aggregated folder sizes and file counts alongside per-file size, line count and relative modified date.
  • Counts lines for text files by streaming newline bytes with bounded memory, skipping binary files and files larger than fileStats.maxLineCountFileSizeKb.
  • Sorts folders and files by name, size, line count or modified date in ascending or descending order directly from the view title bar.
  • Respects files.exclude, search.exclude, fileStats.exclude and .gitignore (via git ls-files in trusted workspaces).
  • Keeps stats fresh with debounced FileSystemWatcher batches and cancellable bounded-concurrency scans.
  • Shows exact bytes, lines, modified time and created time when hovering over a file in the tree, plus active-file size and line count in the status bar.

Features (Free vs Pro)

Feature Free Pro
Explorer "File Stats" tree view (size, lines, modified date) Included Included
Folder size and file count aggregation Included Included
Sort by name, size, lines or modified (asc/desc) Included Included
Hover tooltip (exact bytes, lines, modified, created) Included Included
Active-file size and line count status bar item Included Included
Respects files.exclude, search.exclude and .gitignore Included Included
"Largest files" and "Recently changed" workspace quick views Upgrade prompt Included
Per-extension breakdown (bytes and lines per file type) Upgrade prompt Included
Find duplicate files by size and streamed SHA-256 hash Upgrade prompt Included
Export stats to CSV (formula-safe), JSON or Markdown Upgrade prompt Included

Commands

  • fileStats.refresh (File Stats: Refresh): Rescans the workspace and refreshes the File Stats tree.
  • fileStats.cancelScan (File Stats: Cancel Scan): Cancels an active workspace scan.
  • fileStats.sortByName (File Stats: Sort by Name): Sorts the tree by name (toggles asc/desc when active).
  • fileStats.sortBySize (File Stats: Sort by Size): Sorts the tree by byte size (toggles asc/desc when active).
  • fileStats.sortByLines (File Stats: Sort by Lines): Sorts the tree by line count (toggles asc/desc when active).
  • fileStats.sortByModified (File Stats: Sort by Modified Date): Sorts the tree by modified timestamp (toggles asc/desc when active).
  • fileStats.toggleSortDirection (File Stats: Toggle Sort Direction): Flips ascending/descending sort order.
  • fileStats.largestFiles (File Stats: Largest Files (Pro)): Opens a quick pick of the largest workspace files.
  • fileStats.recentlyChanged (File Stats: Recently Changed (Pro)): Opens a quick pick of the most recently modified files.
  • fileStats.extensionBreakdown (File Stats: Per-Extension Breakdown (Pro)): Shows byte size and line counts grouped by extension.
  • fileStats.findDuplicates (File Stats: Find Duplicate Files (Pro)): Finds duplicate files by size and streamed SHA-256 hash.
  • fileStats.exportReport (File Stats: Export Stats (Pro)): Exports workspace stats as CSV, JSON or Markdown in an untitled editor.
  • file-stats-explorer.enterLicense (File Stats Explorer: Enter License Key): Activates a Pro license key in VS Code SecretStorage.

Settings

  • fileStats.exclude (string[]): Additional glob patterns to exclude alongside files.exclude and search.exclude. Defaults: **/node_modules/**, **/.git/**, **/dist/**, **/build/**, **/out/**, **/.venv/**, **/venv/**, **/target/**, **/vendor/**, **/coverage/**, **/.next/**, **/__pycache__/**.
  • fileStats.respectGitignore (boolean, default true): Use git ls-files to respect .gitignore rules in trusted git workspaces.
  • fileStats.maxLineCountFileSizeKb (integer, default 2048): Maximum file size in KB for streaming line counts.
  • fileStats.defaultSortBy ("name" | "size" | "lines" | "modified", default "name"): Initial sort field.
  • fileStats.defaultSortDirection ("asc" | "desc", default "asc"): Initial sort direction.
  • fileStats.showStatusBar (boolean, default true): Show size and line count of the active file in the status bar.
  • fileStats.quickViewLimit (integer, default 50): Maximum number of files shown in Pro Largest Files and Recently Changed quick views.
  • file-stats-explorer.apiBaseUrl (string, default ""): Override the licensing API base URL (must use https://, machine-scoped).
  • file-stats-explorer.webBaseUrl (string, default ""): Override the web storefront base URL (must use https://, machine-scoped).

Privacy and Data Handling

Data Where Retention
Workspace file sizes, line counts and timestamps Local memory only Current session
Duplicate candidate SHA-256 hashes (Pro) Computed in memory during scan Discarded after command
License key, product ID, machine ID hash Sent to licensing API (file-stats-explorer.apiBaseUrl) on Pro activation/refresh Active license lifetime
Telemetry None (collectsTelemetry: false) 0 days

File Stats Explorer collects zero telemetry and never transmits source code or file paths.

Offline Behaviour

  • Scanning, streaming line counting, tree sorting, quick views, extension breakdowns, duplicate hashing and report export all run completely offline.
  • Paid licenses are verified locally using the bundled Ed25519 public key with a 14-day offline grace window.
  • In untrusted workspaces, tree stats, hover tooltips and the status bar work normally while git ls-files is disabled.

Pricing

File Stats Explorer is free to use. Pro adds Largest Files, Recently Changed, Per-Extension Breakdown, Duplicate File Finder and CSV/JSON/Markdown export.

  • Pro: $4/month or $36/year
  • All Access (every Toolsmith Labs extension): $12/month or $99/year

View plans and buy. After purchase, sign in to your account to copy your license key, then run File Stats Explorer: Enter License Key.

Support

Report issues or request help at github.com/toolsmith-labs/support. For billing or license questions, email jashambaliya05@gmail.com.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft