[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ui-best-practices-working-group] Should editor show new wizard for empty files?

On 04/21/2017 11:12 AM, Mickael Istria wrote:
I'd replace file-extension by content-type, but indeed, if we have the mapping somewhere, we can use it in the new file wizard. But that involves Platform UI providing the extension point and the wizard, and we both know that given the amount of work and resources in platform, this will become a bottleneck.
Actually, it's not necessarily a bottleneck, we can start with trying things in the e4 incubators:
* Defining content-type->newWizard extension point and registry
* Draft a proposal of a new file wizard consuming this extension
* Draft the initial proposal of showing the wizard when one opens an empty file
Then we'll be able to try various approach and migrate what's most consensual to Platform UI.

https://bugs.eclipse.org/bugs/show_bug.cgi?id=515585 , code welcome ;)
Mickael Istria
Eclipse developer for Red Hat Developers
My blog - My Tweets