Unified Diff: Severe performance degradation when editing with folded unchanged regions
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- java
- 领域
- performance
调研方向
Start with the Unified Diff preference and the folding mechanism described in the report, then profile typing with many unchanged regions folded. Investigate whether annotation recomputation, projection updates, or diff recalculation runs on each document change. Done means normal input responsiveness with many folded regions and coverage for this reproduction scenario.
由索引模型根据 Issue 内容生成。
描述
Problem
When the preference "Fold unchanged regions, keeping a few lines of context around each change" is enabled and many unchanged regions are folded, editing the document becomes very slow. User input is barely registered or has a significant delay, making the editor practically unusable in this state.
Steps to Reproduce
- Enable Unified Diff in Preferences > Compare/Patch.
- Enable "Fold unchanged regions, keeping a few lines of context around each change".
- Open a file with many changes so that a large number of unchanged regions are folded.
- Start typing / editing in the editor.
Expected Behavior
Editing performance should be unaffected by the number of folded regions. User input should be processed at normal speed regardless of the folding state.
Actual Behavior
The editor becomes very slow. Keystrokes are delayed or dropped, making editing effectively impossible when many regions are folded.
Notes
This issue requires root-cause analysis. The folding mechanism likely triggers expensive recalculations (e.g. annotation recomputation, projection updates, or diff recalculation) on every document change, which does not scale with large numbers of folded regions.
- 主要语言
- Java
- 星标
- 165
- 派生
- 174
- 平均合并
- 2 天 16 小时
- 30 天内合并 PR
- 45
环境准备
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
eclipse-platform/eclipse.platform 的其他 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 66/100
eclipse-platform/eclipse.platform#3019 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2940 ·
维护者通常 1 天内回复
-
Terminal views all show same name 'Terminal' in Ctrl+F7 view switcher popup可能已有人在做 @ravnskjaer 于 6 天前认领。 未关闭bug good first issue help wanted
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2774 · 4 条评论 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
eclipse-platform/eclipse.platform#2593 · 7 条评论 ·
维护者通常 1 天内回复
-
[Win32] Folder becomes a file in the workspace tree when a child is deleted during `refreshLocal` (regression in 2026-09)可能已有人在做 @FlorianKroiss 于 1 天前认领。 未关闭bug regression Windows
难度 4/5 3-5 天 新手友好度 15/100
eclipse-platform/eclipse.platform#3024 · 1 条评论 ·
维护者通常 1 天内回复
查看 eclipse-platform/eclipse.platform 的全部 Issue
相似的 Issue
-
RRateLimiter acquire methods accept negative permits and raise available permits above the rate.未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 4 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
krahets/hello-algo#1993 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
NationalSecurityAgency/ghidra#9884 ·
维护者通常 2 天内回复
-
Status: Pending Review Type: Feature Request
难度 1/5 1 小时以内 新手友好度 82/100
OpenRefine/OpenRefine#8019 ·
维护者通常 1 天内回复
-
[TEMP] pin maven version to 3.9.x可能已有人在做 @petrenyi-mark 今天认领。 未关闭
难度 2/5 1 小时以内 新手友好度 62/100