Hi Mickael,
I've commented on the patch.
I like this feature a lot but I miss the "Text editor only" strategy for opening unknown files in the text editor by default, independently if there are any system or external editors. I think this strategy should be made available from day one, and do not wait for other commits. There were requests to make it default but this will break corporate (Windows) users so I do not request make "Text editor only" default.
A nice addition would be also "Guess by content type" strategy, which could use magic byte or to recognize the editor type via IContentDescriber related API, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=90292#c4
Kind regards,
Andrey Loskutov
http://google.com/+AndreyLoskutov
Gesendet: Donnerstag, 17. Dezember 2015 um 12:25 Uhr
Von: "Mickael Istria" <mistria@xxxxxxxxxx>
An: "Eclipse Platform UI component developers list." <platform-ui-dev@xxxxxxxxxxx>
Betreff: [platform-ui-dev] Default editor for unknown types
Hi all,
I've submitted
https://git.eclipse.org/r/#/c/62659/ which introduces strategies on how to handle unknown type. The content of the change is described in
https://bugs.eclipse.org/bugs/show_bug.cgi?id=90292#c11 . This also allows plugin and RCP providers to add some additional strategies (for example to poll a remote service to suggest installation of additional plugins) and to make those default via preferences.
Can someone consider it for review? I've already asked Daniel, but it's not something he can do soon.
Cheers,
_______________________________________________ platform-ui-dev mailing list platform-ui-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-ui-dev