# microsoft/vscode SLOC report

> As of 2026-09-14 (commit 500aea76827c), microsoft/vscode contains 3,058,022 total lines: 2,378,447 code, 353,120 comments, 326,455 blank, across 10,294 files in 20 languages (top: TypeScript 80.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

microsoft/vscode has 2,378,447 source lines of code out of 3,058,022 total lines across 10,294 files, counted from the main ref at commit 500aea76827c by the OctoCounts tokei engine on 2026-09-14. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving microsoft/vscode to commit 500aea76827c, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 8,427 | 2,499,978 | 1,905,630 | 302,187 | 292,161 |
| JSON | 589 | 319,147 | 319,106 | 0 | 41 |
| CSS | 465 | 89,404 | 69,314 | 6,514 | 13,576 |
| TSX | 191 | 43,750 | 36,909 | 3,041 | 3,800 |
| Rust | 84 | 28,063 | 23,374 | 1,225 | 3,464 |
| JavaScript | 30 | 14,736 | 11,909 | 2,062 | 765 |
| HTML | 18 | 3,957 | 3,831 | 44 | 82 |
| SVG | 211 | 3,850 | 3,809 | 9 | 32 |
| Shell | 40 | 2,136 | 1,598 | 249 | 289 |
| PowerShell | 12 | 1,019 | 865 | 85 | 69 |
| Batch | 17 | 861 | 644 | 48 | 169 |
| Scheme | 5 | 748 | 547 | 25 | 176 |

Top language (TypeScript 80.1%). Generated at 2026-09-14T09:00:00.317564908+00:00. Canonical report: https://octocounts.com/github/microsoft/vscode

## Reproduce this report

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

## Report FAQ

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

microsoft/vscode has 3,058,022 total lines, including 2,378,447 code lines, 353,120 comment lines, and 326,455 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 500aea76827c, 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 500aea76827c on 2026-09-14T09:00:00.317564908+00:00.

## Similar repository reports

- [n8n-io/n8n](https://octocounts.com/github/n8n-io/n8n) — TypeScript, 2,446,804 code lines
- [diegosouzapw/OmniRoute](https://octocounts.com/github/diegosouzapw/OmniRoute) — TypeScript, 2,134,988 code lines
- [wszgrcy/vscode](https://octocounts.com/github/wszgrcy/vscode) — TypeScript, 2,047,718 code lines
- [happier-dev/happier](https://octocounts.com/github/happier-dev/happier) — TypeScript, 2,748,796 code lines
- [qwenLM/qwen-code](https://octocounts.com/github/qwenLM/qwen-code) — TypeScript, 2,776,200 code lines
- [twentyhq/twenty](https://octocounts.com/github/twentyhq/twenty) — TypeScript, 1,881,981 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)
- [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)
- [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)
