Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

Unified Diff: Severe performance degradation when editing with folded unchanged regions

Abierto
#2,943 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
java
Área
performance

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

  1. Enable Unified Diff in Preferences > Compare/Patch.
  2. Enable "Fold unchanged regions, keeping a few lines of context around each change".
  3. Open a file with many changes so that a large number of unchanged regions are folded.
  4. 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.

Lenguaje dominante
Java
Estrellas
165
Forks
174
Merge medio
3 d 6 h
PR fusionados (30 d)
44

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de eclipse-platform/eclipse.platform

Todos los issues de eclipse-platform/eclipse.platform

Issues similares

Más issues de Java

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.