# microsoft/vscode SLOC report

> microsoft/vscode: 2,748,684 code lines at commit b79cd7e11c27, counted with tokei-15.0.0 on 2026-11-16. Saved result c7eeea7bb64aeac5625455d8b158c74f8857984853f115b891adb8a34626dc1d.

microsoft/vscode has 2,748,684 source lines of code out of 3,520,191 total lines across 11,718 files, counted with tokei from the main ref at commit b79cd7e11c27 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/vscode to commit b79cd7e11c27, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options; an exact reproduction needs the same commit, engine version, and effective counting rules.

## Counting rules and retention

microsoft/vscode: tokei-15.0.0, policy directories-v1; docs excluded, tests excluded, generated excluded. Excluded directory names: .cache, .generated, .git, .next, __tests__, build, dist, doc, docs, documentation, fixtures, gen, generated, node_modules, target, test, tests, vendor. Ignored languages: none. Repository declarations: off. Exclusions are rule-based; they do not prove that every test, document or generated file was removed.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a very large codebase by counted code lines. Code represents 78.1% of all lines, comments represent 11.5%, and the repository averages 235 code lines per file. TypeScript accounts for 83.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 9,781 | 2,958,610 | 2,286,550 | 348,676 | 323,384 |
| JSON | 541 | 259,441 | 259,400 | 0 | 41 |
| CSS | 545 | 107,153 | 83,292 | 7,476 | 16,385 |
| TSX | 183 | 42,582 | 35,829 | 3,020 | 3,733 |
| Rust | 106 | 40,481 | 34,762 | 1,340 | 4,379 |
| YAML | 5 | 26,258 | 24,000 | 12 | 2,246 |
| JavaScript | 26 | 14,944 | 12,318 | 1,967 | 659 |
| HTML | 19 | 4,037 | 3,904 | 50 | 83 |
| SVG | 210 | 3,763 | 3,728 | 9 | 26 |
| Shell | 44 | 2,865 | 2,152 | 329 | 384 |
| Batch | 18 | 940 | 713 | 49 | 178 |
| PowerShell | 10 | 770 | 636 | 70 | 64 |
| Scheme | 5 | 748 | 547 | 25 | 176 |
| Zsh | 4 | 397 | 283 | 62 | 52 |
| BASH | 1 | 269 | 171 | 63 | 35 |
| Fish | 1 | 260 | 168 | 59 | 33 |
| XML | 4 | 123 | 123 | 0 | 0 |
| TOML | 4 | 127 | 108 | 0 | 19 |
| Markdown | 190 | 37,044 | 0 | 27,613 | 9,431 |
| Plain Text | 21 | 19,379 | 0 | 14,838 | 4,541 |

Top language: TypeScript 83.2%. Generated on November 16, 2026. Canonical report: https://octocounts.com/github/microsoft/vscode/commit/b79cd7e11c2708ad3b06d6c6b5b91fb4679a4b85?reportId=c7eeea7bb64aeac5625455d8b158c74f8857984853f115b891adb8a34626dc1d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/microsoft/vscode/commit/b79cd7e11c2708ad3b06d6c6b5b91fb4679a4b85?reportId=c7eeea7bb64aeac5625455d8b158c74f8857984853f115b891adb8a34626dc1d&analysis=%7B%22profile%22%3A%22default%22%2C%22ignoredDirs%22%3A%5B%5D%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22ignoredLanguages%22%3A%5B%5D%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does microsoft/vscode have?

microsoft/vscode has 2,748,684 lines of code, plus 405,658 comment lines and 365,849 blank lines, for 3,520,191 total lines at commit b79cd7e11c27 on November 16, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

### How was the microsoft/vscode line count measured?

OctoCounts resolved the public GitHub repository to commit b79cd7e11c27, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for microsoft/vscode?

This OctoCounts report was generated from main at commit b79cd7e11c27 on November 16, 2026.

## Similar repository reports

- [audacity/audacity](https://octocounts.com/github/audacity/audacity) — TypeScript, 2,754,965 code lines
- [n8n-io/n8n](https://octocounts.com/github/n8n-io/n8n) — TypeScript, 2,813,421 code lines
- [paperclipai/paperclip](https://octocounts.com/github/paperclipai/paperclip) — TypeScript, 2,833,937 code lines
- [JimLiu/baocut](https://octocounts.com/github/JimLiu/baocut) — TypeScript, 2,937,687 code lines
- [twentyhq/twenty](https://octocounts.com/github/twentyhq/twenty) — TypeScript, 2,550,211 code lines
- [crbnos/carbon](https://octocounts.com/github/crbnos/carbon) — TypeScript, 2,535,693 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [Next.js vs Vite](https://octocounts.com/compare/nextjs-vs-vite)
- [Angular vs Vue](https://octocounts.com/compare/angular-vs-vue)
- [Svelte vs Vue](https://octocounts.com/compare/svelte-vs-vue)
- [How to count lines of code in a GitHub repository](https://octocounts.com/docs/count-lines-of-code-github)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
- [All OctoCounts guides](https://octocounts.com/docs)
