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

Add preference to configure GenericEditorContentAssistant.contextInformationPopupOrientation

Aperta
#4,248 4 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
53/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
java
Ambito
desktop

Direzione di ricerca

Start with GenericEditorContentAssistant.java, especially the line linked in the issue where the context-information popup orientation is hard-coded, and inspect how ContentAssistant exposes that option. Then look for the generic editor’s existing preference definitions and tests; the issue does not name them. Done means users can choose the context-information orientation and the selected setting is applied.

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

Descrizione

enhancement

While working with the generic text editor, I noticed that the context information is placed below the cursor, which causes any additional shells, such as the proposal list or the additional information popup to cover the context information.

Example:
Initially only the context information is shown:
Image
If the user triggers the proposals or starts typing, the context info is barely visible:
Image

ContentAssistant already has the option to show the context above the cursor (which is the default) , but GenericEditorContentAssistant hard-codes this to be rendered below:
https://github.com/eclipse-platform/eclipse.platform.ui/blob/61565e63f53ce84d1e983d6f2ab1cc399207d1cb/bundles/org.eclipse.ui.genericeditor/src/org/eclipse/ui/internal/genericeditor/GenericEditorContentAssistant.java#L98

I propose to add a preference so the user can decide where the context info is shown.

Moving it to the top looks like this:
Image

For comparison, VS Code also displays this information at the top, if there is enough space:
Image
If there isn't enough space, it also displays the info below the cursor where it also covered by any additional popups.

Thoughts?

Lingua principale
Java
Stelle
124
Fork
269
Merge medio
2g 6h
PR unite (30g)
69

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.ui

Tutte le issue di eclipse-platform/eclipse.platform.ui

Issue simili

Altre issue su Java

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.