eclipse-platform / eclipse-platform/eclipse.platform
DocumentProviderRegistry.getDocumentProvider(IEditorInput) should try to adapt the editor input
- 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
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