Stat Lens Wiki

From MutigerAffe Wiki
Jump to navigation Jump to search
Stat Lens
Stat Lens

Stat Lens is an extension for Visual Studio Code. It adds a Stat Lens view to the Explorer with key figures for the open workspace: lines of code per language, files, folders and size, project age, Git history and dependencies.

Languages are detected with linguist-js, which uses the same rules as GitHub Linguist. The result is saved per workspace and shown right away the next time you open the folder. The view rescans on its own when files change.

Latest version
Extension 4.0.0
VS Code 1.100 or newer
Requires A local, trusted folder. Git in the PATH for the Git figures.
Download VS Code Marketplace

The values in this wiki are taken from version 4.0.0.

The view

The Stat Lens view in the Explorer

The Stat Lens view with the Languages section expanded. See Sidebar View for what every row means.

Quick start
  1. Install the extension from the VS Code Marketplace. See Installation.
  2. Open a folder in VS Code.
  3. Open the Explorer and expand the Stat Lens view. The first scan starts on its own.
  4. Click the refresh icon in the title bar of the view to scan again. See Scanning.
Getting started
Stat Lens
Start Installation
Features Sidebar View · Scanning · Dependencies
Reference Commands and Settings · FAQ · Version History
Links Project page on mutigeraffe.com · Download on the VS Code Marketplace