# microsoft/vscode SLOC report

> microsoft/vscode: 2,785,381 code lines at commit dcd0727e2603, counted with tokei-15.0.0 on 2026-11-24. Saved result 4b314eed90ee57a13a6fb7eaab8bd009209adce3deee04ac24f1992b54a96e0d.

Source: [microsoft/vscode on GitHub](https://github.com/microsoft/vscode) · counted commit [dcd0727e2603](https://github.com/microsoft/vscode/tree/dcd0727e2603acc237b069f9ca1ea327e157ca29)

microsoft/vscode has 2,785,381 source lines of code out of 3,566,485 total lines across 11,854 files, counted with tokei from the main ref at commit dcd0727e2603 on November 24, 2026. Tests, docs and generated files are excluded under OctoCounts' canonical public options.

OctoCounts produced this report by resolving microsoft/vscode to commit dcd0727e2603, 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.3% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 9,911 | 3,001,870 | 2,321,141 | 354,350 | 326,379 |
| JSON | 541 | 259,461 | 259,420 | 0 | 41 |
| CSS | 550 | 109,913 | 85,368 | 7,657 | 16,888 |
| TSX | 183 | 42,340 | 35,611 | 3,014 | 3,715 |
| Rust | 106 | 41,262 | 35,494 | 1,344 | 4,424 |
| YAML | 5 | 25,715 | 23,492 | 12 | 2,211 |
| JavaScript | 26 | 14,945 | 12,319 | 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 | 131 | 111 | 0 | 20 |
| Markdown | 191 | 37,297 | 0 | 27,757 | 9,540 |
| Plain Text | 21 | 19,379 | 0 | 14,838 | 4,541 |

Top language: TypeScript 83.3%. Generated on November 24, 2026. Canonical report: https://octocounts.com/github/microsoft/vscode/commit/dcd0727e2603acc237b069f9ca1ea327e157ca29?reportId=4b314eed90ee57a13a6fb7eaab8bd009209adce3deee04ac24f1992b54a96e0d&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/dcd0727e2603acc237b069f9ca1ea327e157ca29?reportId=4b314eed90ee57a13a6fb7eaab8bd009209adce3deee04ac24f1992b54a96e0d&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,785,381 lines of code, plus 411,655 comment lines and 369,449 blank lines, for 3,566,485 total lines at commit dcd0727e2603 on November 24, 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 dcd0727e2603, 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 dcd0727e2603 on November 24, 2026.

## Similar repository reports

- [audacity/audacity](https://octocounts.com/github/audacity/audacity) — TypeScript, 2,760,456 code lines
- [paperclipai/paperclip](https://octocounts.com/github/paperclipai/paperclip) — TypeScript, 2,815,398 code lines
- [pingdotgg/t3code](https://octocounts.com/github/pingdotgg/t3code) — TypeScript, 2,748,511 code lines
- [crbnos/carbon](https://octocounts.com/github/crbnos/carbon) — TypeScript, 2,616,959 code lines
- [twentyhq/twenty](https://octocounts.com/github/twentyhq/twenty) — TypeScript, 2,616,653 code lines
- [n8n-io/n8n](https://octocounts.com/github/n8n-io/n8n) — TypeScript, 2,982,903 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)
- [Largest codebases by programming language](https://octocounts.com/languages)
- [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)
