eclipse-platform / eclipse-platform/eclipse.platform

DocumentProviderRegistry.getDocumentProvider(IEditorInput) should try to adapt the editor input

Offen
#885 5 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
api enhancement
Vorherrschende Sprache
Java
Sterne
165
Forks
174
Ø Merge
2 T. 8 Std.
Gemergte PRs (30 T.)
22

Beschreibung

Currently one needs to implement an additional extension point to adapt an `IEditorInput` to an `IDocumentProvider` additionally `org.eclipse.ui.texteditor.DocumentProviderRegistry.getDocumentProvider(IEditorInput)` should use the Adapter framework as well for the provider.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with org.eclipse.ui.texteditor.DocumentProviderRegistry.getDocumentProvider(IEditorInput) and inspect how it currently resolves providers through the extension point. Then review the Adapter framework usage around editor inputs and add the adapter-based lookup alongside the existing behavior. Done means an adaptable IEditorInput can provide its IDocumentProvider without requiring an additional extension point.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java
Bereich
developer-experience
Issue-Typ
Feature
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Klar beschrieben
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.