Community
Participate
Working Groups
Sopot, it would be create if PDE had a template for the new editor support. Maybe you can update the "Plug-in with an editor" template with the new approach?
Indeed.
Maybe creating a new one is better. I could use the .target editor I built https://twitter.com/smcela/status/771315783788027904 WDYT?
(In reply to Sopot Cela from comment #3) > Maybe creating a new one is better. I could use the .target editor I built > https://twitter.com/smcela/status/771315783788027904 > > WDYT? +1 or the XML one. The current PDE template is for XML.
Here is a work-in-progress template. Feedback is welcome. https://sopotc.fedorapeople.org/Screencast%20from%2009-28-2016%2003:00:59%20PM.webm
Thanks Sopot, that's promising. Some comments/suggestions: * The template should ideally contain an implementation for all extensions * There are risk of facing bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=500755 * Template could be named "Plugin with an extensible editor" but rather "Plugin with some language support for Generic Editor" * Content-type/editor association could be included in the template. * Template icon could be the one of the Generic Editor
(In reply to Sopot Cela from comment #5) > Here is a work-in-progress template. Feedback is welcome. > > https://sopotc.fedorapeople.org/Screencast%20from%2009-28-2016%2003:00: > 59%20PM.webm Could you upload a Gerrit?
New Gerrit change created: https://git.eclipse.org/r/82151
I'm questioning the value of a template here for the effort and maintenance it requires: Why not simply allow to load an example, importing the .project editor bundle into the IDE?
I think a template is much more visible and handy to start with. Also we already spent the effort so not sure if it makes sense to reconsider the purpose of templates in general at this point.
Heaving a template is great way to get people kickstarted on something new and getting smth small enough with their stuff sneaked in. E.g. I'm looking towards using this template to generate basic editors for me which I can extend to become diff/patch, suppression and etc. editors. Yes, there is effort in keeping them but their value is huge when trying to make technology easier to use (does powerpoint needs templates?).
ok ok then... I personally never used a template and always look at existing code or examples, so I probably underestimate their value. However, I'm still surprised of the effort it is in maintaining as they require a lot of code. I thought those were simply all text templates a-la velocity.
Gerrit change https://git.eclipse.org/r/82151 was merged to [master]. Commit: http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=08b13b27540d08087909c3feda093ed764fb647d
Thanks. Leaving open for the N&N entry for PDE.
New Gerrit change created: https://git.eclipse.org/r/82737
Gerrit change https://git.eclipse.org/r/82737 was merged to [master]. Commit: http://git.eclipse.org/c/www.eclipse.org/eclipse/news.git/commit/?id=855afa9b5360b1379ac392f7bafaeb124d8ef5f8