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.
As of 2026-11-16 (commit b79cd7e11c27), microsoft/vscode contains 3,520,191 total lines: 2,748,684 code, 405,658 comments, 365,849 blank, across 11,718 files in 20 languages (top language: TypeScript 83.2%). Canonical public options (tests, docs and generated files excluded). Counted with tokei via OctoCounts.
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.
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 | 9781 | 2958610 | 2286550 | 348676 | 323384 |
| JSON | 541 | 259441 | 259400 | 0 | 41 |
| CSS | 545 | 107153 | 83292 | 7476 | 16385 |
| TSX | 183 | 42582 | 35829 | 3020 | 3733 |
| Rust | 106 | 40481 | 34762 | 1340 | 4379 |
| YAML | 5 | 26258 | 24000 | 12 | 2246 |
| JavaScript | 26 | 14944 | 12318 | 1967 | 659 |
| HTML | 19 | 4037 | 3904 | 50 | 83 |
| SVG | 210 | 3763 | 3728 | 9 | 26 |
| Shell | 44 | 2865 | 2152 | 329 | 384 |
| Batch | 18 | 940 | 713 | 49 | 178 |
| PowerShell | 10 | 770 | 636 | 70 | 64 |
Top language: TypeScript 83.2%. Generated on .
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.
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.
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.
This OctoCounts report was generated from main at commit b79cd7e11c27 on November 16, 2026.
Other public repositories with an OctoCounts report, ranked by top language and code size similarity:
Play the growth animation for microsoft/vscode on this page — 2,748,684 code lines across 20 languages, counted by tokei.