Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unified Diff: Allow partial expansion of folded unchanged regions

Aperta
#2,944 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
java
Ambito
tooling

Direzione di ricerca

Start by locating the Unified Diff viewer implementation and the existing "Show N unchanged lines" expansion behavior. Trace how folded unchanged regions are represented and expanded, then identify the related UI tests or test entry points. Done means upward and downward partial expansion are available while the existing expand-all action still works.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Problem

When "Fold unchanged regions" is enabled, clicking the "Show N unchanged lines" bar expands the entire folded region at once. For large folded regions (e.g. "Show 868 unchanged lines"), this immediately reveals hundreds of lines, making it hard to incrementally explore context around a change.

GitHub's diff viewer, for comparison, offers "Expand upward" and "Expand downward" affordances that reveal a fixed number of lines (e.g. 5 or 10) at a time from either end of a collapsed region.

Expected Behavior

The "Show N unchanged lines" bar should offer partial expansion in addition to the existing full expansion:

  • Expand upward — reveal the next N lines above the nearest change.
  • Expand downward — reveal the next N lines below the nearest change.
  • The existing click-to-expand-all behaviour should be preserved.

The number of lines revealed per step should be consistent and ideally configurable or follow a sensible default (e.g. 5–10 lines).

Lingua principale
Java
Stelle
165
Fork
174
Merge medio
2g 17h
PR unite (30g)
43

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di eclipse-platform/eclipse.platform

Tutte le issue di eclipse-platform/eclipse.platform

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.