# microsoft/vscode SLOC report

> microsoft/vscode: 2,609,569 code lines at commit 2e2f249355a0, counted with tokei-14.0.0 on 2026-10-21. Saved result f87372d37865f3c350a2f8883cd3c048c353c193fcfc00d116f8881db6870e28.

microsoft/vscode has 2,609,569 source lines of code out of 3,333,244 total lines across 11,100 files, counted from the main ref at commit 2e2f249355a0 by the OctoCounts tokei engine on 2026-10-21. 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 2e2f249355a0, 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 78.3% of all lines, comments represent 11.3%, and the repository averages 235 code lines per file. TypeScript accounts for 81.2% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| TypeScript | 9,175 | 2,749,288 | 2,118,758 | 322,204 | 308,326 |
| JSON | 585 | 318,971 | 318,930 | 0 | 41 |
| CSS | 488 | 97,660 | 76,085 | 6,664 | 14,911 |
| TSX | 190 | 44,207 | 37,312 | 3,067 | 3,828 |
| Rust | 105 | 39,401 | 33,771 | 1,323 | 4,307 |
| JavaScript | 27 | 14,949 | 12,331 | 1,950 | 668 |
| HTML | 20 | 4,053 | 3,916 | 54 | 83 |
| SVG | 210 | 3,763 | 3,728 | 9 | 26 |
| Shell | 43 | 2,585 | 1,942 | 280 | 363 |
| Batch | 18 | 905 | 681 | 48 | 176 |
| 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 |
| YAML | 1 | 85 | 79 | 0 | 6 |
| Markdown | 188 | 35,304 | 0 | 26,430 | 8,874 |
| Plain Text | 21 | 19,379 | 0 | 14,838 | 4,541 |

Top language (TypeScript 81.2%). Generated at 2026-10-21T02:25:47.850089062Z. Canonical report: https://octocounts.com/github/microsoft/vscode/commit/2e2f249355a01896009c72c58e88a4457fedb50a?reportId=f87372d37865f3c350a2f8883cd3c048c353c193fcfc00d116f8881db6870e28&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/2e2f249355a01896009c72c58e88a4457fedb50a?reportId=f87372d37865f3c350a2f8883cd3c048c353c193fcfc00d116f8881db6870e28&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 3,333,244 total lines, including 2,609,569 code lines, 377,146 comment lines, and 346,529 blank lines.

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

OctoCounts resolved the public GitHub repository to commit 2e2f249355a0, 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 2e2f249355a0 on 2026-10-21T02:25:47.850089062Z.

## Similar repository reports

- [n8n-io/n8n](https://octocounts.com/github/n8n-io/n8n) — TypeScript, 2,642,214 code lines
- [aipoch/open-science](https://octocounts.com/github/aipoch/open-science) — TypeScript, 2,496,303 code lines
- [audacity/audacity](https://octocounts.com/github/audacity/audacity) — TypeScript, 2,749,380 code lines
- [corsairdev/corsair](https://octocounts.com/github/corsairdev/corsair) — TypeScript, 2,769,417 code lines
- [paperclipai/paperclip](https://octocounts.com/github/paperclipai/paperclip) — TypeScript, 2,267,426 code lines
- [twentyhq/twenty](https://octocounts.com/github/twentyhq/twenty) — TypeScript, 2,265,159 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)
