Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>otak-filemeterNew to Visual Studio Code? Get it now.
otak-filemeter

otak-filemeter

Tsuyoshi Otake

odangoo.com
| (0) | Free
Show file line counts and sizes in VS Code Explorer tooltips.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

otak-filemeter

Line count and file size tooltips for the VS Code Explorer.
otak-filemeter adds lightweight Explorer decorations so you can inspect file metrics without opening files.

VS Marketplace VS Code engine License: MIT GitHub

Local processing No telemetry Explorer badges

Install · GitHub · Report an issue


VS Code's built-in Explorer does not expose a public API for adding arbitrary table columns. otak-filemeter uses the supported decoration API instead: each file gets a compact badge, and exact details are available from the hover tooltip.

image

Capabilities

  • Metrics tooltip: hover the decoration to see line count and file size.
  • Small marker badge: uses a compact i badge because VS Code decoration tooltips need a decoration target.
  • Bounded line counting: line counts are calculated only for files under the configured byte limit.
  • Local only: no telemetry, no network calls, and no workspace writes.

Settings

Setting Default Description
otakFilemeter.enabled true Enables Explorer file metric badges.
otakFilemeter.maxLineCountBytes 1048576 Maximum file size read for line counting in tooltips. Set to 0 to disable line counting.

Commands

Command Description
otak-filemeter: Refresh File Meter Badges Clears cached metrics and asks VS Code to refresh Explorer decorations.

Notes

Explorer decoration badges are intentionally kept to a short i marker. Hover the marker to see:

Lines: 100 lines
Size: 5.0 KB

Requirements

  • VS Code 1.125.0 or newer

Installation

Install from the VS Code Marketplace, or run:

ext install odangoo.otak-filemeter
Build from source (VSIX)
npm install
npm run package
code --install-extension otak-filemeter-0.1.8.vsix

Reload VS Code afterwards if the Explorer was already open.

Troubleshooting

  • Badges do not appear after installing the VSIX: run Developer: Reload Window once. Version 0.1.3 activates immediately, but a reload is still the fastest way to refresh an already-open Explorer.
  • No Explorer decorations appear at all: confirm Explorer: Decorations: Badges is enabled in VS Code settings.
  • Modified files still show M: VS Code and the built-in Git extension may prioritize source-control badges over extension-provided badges. Try hovering unmodified files first.
  • Line count shows unavailable: the file is larger than otakFilemeter.maxLineCountBytes, could not be read, or looks like binary content.

Security & Privacy

  • No telemetry: no analytics, identifiers, or usage tracking.
  • No network calls: it never uploads file names or file contents.
  • No workspace writes: it reads metadata and small text file contents only to decorate the Explorer.

Related Extensions

More VS Code extensions by odangoo:

Extension Description
otak-paste Paste optimized screenshots into Markdown assets
otak-proxy One-click proxy switching for VS Code, Git, npm, and integrated terminals
otak-monitor Real-time CPU, memory, and disk usage in the status bar
otak-committer AI-assisted commit messages, pull requests, and issues
otak-clipboard Copy a folder or the current tab to your clipboard in two clicks
otak-clock Dual time-zone clock for the status bar
otak-zen A calm, distraction-free Zen mode for VS Code
otak-lsp Japanese morphological analysis with grammar checks, semantic highlights, and hovers
otak-usage At-a-glance usage statistics for VS Code

License

Released under the MIT License.


Built by tsuyoshi-otake · Marketplace · GitHub · Issues
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft