0 comments (0 comments)0 reactions (0 reactions)1 assignee (1 assignee)TypeScript39,847 forks (39,847 forks)batch import
bugdiff-editorhelp wanted
Repository metrics
- Stars
- 184,936 stars (184,936 stars)
- PR merge metrics
- Avg merge 11h 43m (Avg merge 11h 43m)1,000 merged PRs in 30d (1,000 merged PRs in 30d)
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.90.0
- OS Version: Win 11
Steps to Reproduce:
- Monaco Playground
An optimal diff chunk would comprise
if 3:
pass

Contributor guide
- Research direction
- Inspect the diff algorithm implementation in Monaco Editor (vscode's editor component). Look at the diff chunk generation logic in `src/vs/editor/common/diff/` and trace how line ranges are computed. Compare with the optimal diff shown in the playground example.
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Prerequisites
- GitTypeScriptKnowledge of diff algorithms