microsoft/vscode
View on GitHub ↗
Internal87
Unique within the repo — the other 13% repeats across its own files.
Public59
Unique across all public code — a further 28% is its own but appears in other public repos too.
Tidy, but not new — the code doesn't repeat itself, yet a large share already exists across other public repos. A strong candidate for pulling from (or publishing as) a shared package.
Worth consolidating — in the code
Real, actionable duplication in this repo's source, most concrete first.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 59% | 1289 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-memory-smoke.mts |
microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-session-switch-smoke.mts |
same repo |
| 15% | 117 | microsoft/vscode/.eslint-plugin-local/code-no-accessor-after-await.ts |
microsoft/vscode/.eslint-plugin-local/code-no-reader-after-await.ts |
same repo |
| 25% | 103 | microsoft/vscode/.eslint-plugin-local/code-no-observable-get-in-reactive-context.ts |
microsoft/vscode/.eslint-plugin-local/code-no-reader-after-await.ts |
same repo |
| 3% | 93 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-memory-smoke.mts |
microsoft/vscode/.github/skills/azure-pipelines/azure-pipeline.ts |
same repo |
| 2% | 91 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-session-switch-smoke.mts |
microsoft/vscode/.github/skills/azure-pipelines/azure-pipeline.ts |
same repo |
| 11% | 86 | microsoft/vscode/.eslint-plugin-local/code-no-accessor-after-await.ts |
microsoft/vscode/.eslint-plugin-local/code-no-observable-get-in-reactive-context.ts |
same repo |
| 38% | 65 | microsoft/vscode/.eslint-plugin-local/code-limited-top-functions.ts |
microsoft/vscode/.eslint-plugin-local/code-no-runtime-import.ts |
same repo |
| 4% | 65 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-memory-smoke.mts |
microsoft/vscode/.github/skills/auto-perf-optimize/scripts/userDataProfile.mts |
same repo |
| 3% | 63 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-session-switch-smoke.mts |
microsoft/vscode/.github/skills/auto-perf-optimize/scripts/userDataProfile.mts |
same repo |
| 16% | 62 | microsoft/vscode/.eslint-plugin-local/code-no-localized-model-description.ts |
microsoft/vscode/.eslint-plugin-local/code-no-observable-get-in-reactive-context.ts |
same repo |
| 26% | 61 | microsoft/vscode/.eslint-plugin-local/code-no-http-import.ts |
microsoft/vscode/.eslint-plugin-local/code-no-static-node-module-import.ts |
same repo |
| 63% | 57 | microsoft/vscode/.eslint-plugin-local/code-no-nls-in-standalone-editor.ts |
microsoft/vscode/.eslint-plugin-local/code-no-standalone-editor.ts |
same repo |
| 9% | 56 | microsoft/vscode/.eslint-plugin-local/code-no-observable-get-in-reactive-context.ts |
microsoft/vscode/.eslint-plugin-local/code-no-unexternalized-strings.ts |
same repo |
| 26% | 55 | microsoft/vscode/.eslint-plugin-local/code-no-runtime-import.ts |
microsoft/vscode/.eslint-plugin-local/code-no-static-node-module-import.ts |
same repo |
| 26% | 55 | microsoft/vscode/.eslint-plugin-local/code-no-http-import.ts |
microsoft/vscode/.eslint-plugin-local/code-no-runtime-import.ts |
same repo |
| 9% | 55 | microsoft/vscode/.eslint-plugin-local/code-no-unexternalized-strings.ts |
microsoft/vscode/.eslint-plugin-local/code-policy-localization-key-match.ts |
same repo |
| 9% | 54 | microsoft/vscode/.eslint-plugin-local/code-no-icons-in-localized-strings.ts |
microsoft/vscode/.eslint-plugin-local/code-no-unexternalized-strings.ts |
same repo |
| 10% | 53 | microsoft/vscode/.eslint-plugin-local/code-no-localized-model-description.ts |
microsoft/vscode/.eslint-plugin-local/code-no-unexternalized-strings.ts |
same repo |
| 7% | 53 | microsoft/vscode/.eslint-plugin-local/code-no-accessor-after-await.ts |
microsoft/vscode/.eslint-plugin-local/code-no-localized-model-description.ts |
same repo |
| 25% | 48 | microsoft/vscode/.eslint-plugin-local/code-layering.ts |
microsoft/vscode/.eslint-plugin-local/code-no-runtime-import.ts |
same repo |
Docs & prose
Near-identical documentation — often translations (e.g. README.md ⇄ README_zh-CN.md) or mirrored guides. Usually intentional, not cleanup — listed separately so it doesn't inflate the code signal above.
Top duplication hotspots
| Similarity | Overlap | File A | File B | Cross-repo |
|---|---|---|---|---|
| 9% | 295 | microsoft/vscode/.github/skills/add-policy/SKILL.md |
microsoft/vscode/.github/skills/add-policy/github-managed-settings.md |
same repo |
| 10% | 141 | microsoft/vscode/.github/copilot-instructions.md |
microsoft/vscode/.github/instructions/coding-guidelines.instructions.md |
same repo |
| 10% | 123 | microsoft/vscode/.github/prompts/fix-error.prompt.md |
microsoft/vscode/.github/skills/fix-errors/SKILL.md |
same repo |
| 6% | 121 | microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
microsoft/vscode/.github/skills/auto-perf-optimize/scratchpad/README.md |
same repo |
| 3% | 115 | microsoft/vscode/.agents/skills/launch/SKILL.md |
microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
same repo |
| 2% | 83 | microsoft/vscode/.agents/skills/launch/SKILL.md |
microsoft/vscode/.github/skills/add-policy/github-managed-settings.md |
same repo |
| 2% | 82 | microsoft/vscode/.agents/skills/launch/SKILL.md |
microsoft/vscode/.github/skills/add-policy/SKILL.md |
same repo |
| 2% | 80 | microsoft/vscode/.github/instructions/buildNext.instructions.md |
microsoft/vscode/.github/instructions/oss-third-party-notices.instructions.md |
same repo |
| 2% | 77 | microsoft/vscode/.github/instructions/oss-third-party-notices.instructions.md |
microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
same repo |
| 2% | 77 | microsoft/vscode/.agents/skills/launch/SKILL.md |
microsoft/vscode/.github/instructions/buildNext.instructions.md |
same repo |
| 2% | 75 | microsoft/vscode/.agents/skills/launch/SKILL.md |
microsoft/vscode/.github/instructions/oss-third-party-notices.instructions.md |
same repo |
| 2% | 74 | microsoft/vscode/.github/instructions/buildNext.instructions.md |
microsoft/vscode/.github/skills/add-policy/SKILL.md |
same repo |
| 2% | 68 | microsoft/vscode/.github/skills/accessibility/SKILL.md |
microsoft/vscode/.github/skills/add-policy/SKILL.md |
same repo |
| 2% | 66 | microsoft/vscode/.github/skills/add-policy/SKILL.md |
microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
same repo |
| 1% | 66 | microsoft/vscode/.github/instructions/buildNext.instructions.md |
microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
same repo |
| 2% | 65 | microsoft/vscode/.github/copilot-instructions.md |
microsoft/vscode/.github/instructions/buildNext.instructions.md |
same repo |
| 2% | 65 | microsoft/vscode/.github/instructions/buildNext.instructions.md |
microsoft/vscode/.github/skills/add-policy/github-managed-settings.md |
same repo |
| 2% | 63 | microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
microsoft/vscode/.github/skills/fix-ci-failures/SKILL.md |
same repo |
| 2% | 63 | microsoft/vscode/.github/instructions/oss-third-party-notices.instructions.md |
microsoft/vscode/.github/skills/add-policy/SKILL.md |
same repo |
| 2% | 62 | microsoft/vscode/.github/skills/auto-perf-optimize/SKILL.md |
microsoft/vscode/.github/skills/fix-errors/SKILL.md |
same repo |
Largest files
Largest files
| LOC | File | Status |
|---|---|---|
| 1885 | microsoft/vscode/.github/skills/azure-pipelines/azure-pipeline.ts | indexed |
| 936 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-session-switch-smoke.mts | indexed |
| 857 | microsoft/vscode/.github/skills/auto-perf-optimize/scripts/chat-memory-smoke.mts | indexed |
| 680 | microsoft/vscode/.github/commands.json | indexed |
| 517 | microsoft/vscode/.github/skills/cpu-profile-analysis/SKILL.md | indexed |
| 421 | microsoft/vscode/.eslint-plugin-local/code-no-accessor-after-await.ts | indexed |
| 362 | microsoft/vscode/.github/instructions/oss-third-party-notices.instructions.md | indexed |
| 360 | microsoft/vscode/.github/skills/add-policy/github-managed-settings.md | indexed |
| 343 | microsoft/vscode/.github/skills/component-fixtures/SKILL.md | indexed |
| 338 | microsoft/vscode/.agents/skills/launch/SKILL.md | indexed |