Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>aicountNew to Visual Studio Code? Get it now.
aicount

aicount

chaitanyaraju Bahatam

|
24 installs
| (0) | Free
Shows workspace file and line counts in the aicount sidebar, with a full report and CSV export
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

AI-Studio-File-Stats

AI-Studio-File-Stats (aicount) shows how many readable files are in your VS Code workspace and how many lines each file has.

After you install it, a popup asks whether you want to see the project structure. The totals stay in the aicount view on the left Activity Bar. The full file list opens in a Project Statistics tab.

Features

  • Shows a one-time install popup: aicount is installed. Do you want to see the project structure? Choose Open or Close.
  • Adds an aicount icon on the left Activity Bar. That sidebar shows total files, total lines, and Open full report.
  • Opens the full report in a Project Statistics editor tab with serial number, file name, and line count.
  • Lets you search files, sort by name or line count, and refresh the scan.
  • Exports a CSV with total files, total lines, each file name, and its line count. Each download uses a unique name: {project}_AIStudioFileStats_{YYYYMMDD}_{HHMMSS}.csv.
  • Counts every physical line, including blank lines and a trailing blank line at the end of a file.
  • Skips dependency, version-control, virtual-environment, and cache folders such as node_modules, .git, and .venv.
  • Skips known secret files by name (.env, appsettings.json, settings.py, keys/certs, and similar) without reading them. Ordinary Dockerfiles, Compose files, nginx.conf, and .properties files are counted unless their contents look like secrets.

Usage

  1. Install aicount from the Extensions view.
  2. When the install popup appears, choose Open to view the report now, or Close to skip it.
  3. Open a project folder in VS Code.
  4. Click the aicount icon in the left Activity Bar to see totals in the sidebar.
  5. Click Open full report for the file table, or run Project Statistics from the Command Palette.
  6. Use Refresh after project files change. Use Export to download the CSV.

The extension warns you if no workspace folder is open. The install popup is shown once per install. Uninstalling and installing again shows it again.

Requirements

  • Visual Studio Code 1.134.0 or later.
  • An open workspace folder containing the files you want to inspect.

Extension Settings

This extension does not add any settings.

Known Issues

Line counts are based on physical lines in each file. Files that cannot be read, binary files, and files whose contents look like secrets are not included in the report.

Release Notes

0.0.15

Refresh counts lines from the open editor, so adding a line to a file updates the total after Refresh.

0.0.14

Hides the aicount sidebar as soon as the extension is uninstalled or deactivated, so file counts stop updating.

0.0.13

Clears the aicount sidebar and report when the extension is uninstalled or deactivated.

0.0.2

Added all-file statistics, extension grouping, and an extension icon.

0.0.4

Added privacy exclusions for environment, Docker, Git, and lock files.

0.0.9

Install popup opens the aicount sidebar and Project Statistics report. The report lists file names and line counts without grouping by type. CSV export includes totals and a unique timestamped file name.

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