microsoft/vscode SLOC report
As of 2026-08-17 (commit 03459a7e73da), microsoft/vscode contains 2,943,786 total lines: 2,281,825 code, 345,030 comments, 316,931 blank, across 9,961 files in 21 languages (top: TypeScript 79.6%). Counted with tokei via OctoCounts.
OctoCounts produced this report by resolving microsoft/vscode to commit 03459a7e73da, 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.5% of all lines, comments represent 11.7%, and the repository averages 229 code lines per file. TypeScript accounts for 79.6% of counted code.
| Language | Files | Lines | Code | Comments | Blanks |
|---|
| TypeScript | 8118 | 2393498 | 1817017 | 292668 | 283813 |
| JSON | 587 | 318391 | 318350 | 0 | 41 |
| CSS | 448 | 81928 | 63080 | 6440 | 12408 |
| TSX | 191 | 43461 | 36636 | 3014 | 3811 |
| Rust | 84 | 27591 | 22970 | 1207 | 3414 |
| JavaScript | 30 | 14684 | 11863 | 2057 | 764 |
| SVG | 209 | 3848 | 3807 | 9 | 32 |
| HTML | 17 | 3656 | 3537 | 40 | 79 |
| Shell | 40 | 2131 | 1593 | 249 | 289 |
| PowerShell | 12 | 1019 | 865 | 85 | 69 |
| Batch | 17 | 844 | 630 | 48 | 166 |
| Scheme | 5 | 748 | 547 | 25 | 176 |
Top language (TypeScript 79.6%). Generated at 2026-08-17T04:05:33.944962872+00:00.
Report FAQ
How many lines of code does microsoft/vscode have?
microsoft/vscode has 2,943,786 total lines, including 2,281,825 code lines, 345,030 comment lines, and 316,931 blank lines.
How was the microsoft/vscode line count measured?
OctoCounts resolved the public GitHub repository to commit 03459a7e73da, 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 03459a7e73da on 2026-08-17T04:05:33.944962872+00:00.