Community
Participate
Working Groups
Please provide a template mechanism similar to the Java templates that would be available to any editor type. It would be key that user be able to include template references within other template definitions.
This has already be done for text editors in general. See the java editor example for how to include templates in your editor.
Maybe I'm missing something, but what I'm looking for is some generic template support that would already be built in the the standard platform, and that would apply to any editor. It looks like the Java example only discusses developing extensions to Eclipse (more specifically how some of the Java editor features were developed).
This is what I said. How should we have implemented templates for the default text editor if it would not be part of the overall platform? "...apply to any editor" ... you don't get templates for free. There is no way to do it. Editor implementers have to integrate with the provided template support available in the platform the same way the Ant editor, the default text editor, the java editors, the java example editor, etc. do. File PRs against the individual components if you find editors that do not support templates the way it should be.
Okay, I don't mean to be a pain, but I think you're going to have to really spell this out for me because I'm just not getting it. What I'm looking for, s a built-in preference page just like what is offered under "Java->Editor- >Templates" that offers me a way to configure my own templates for the default text editor (or to whichever editor type the particular template preference page applies). As far as filing a PR against the specific component that doesn't offer this ability, that's what I thought I was doing here. I'm looking for templates for the default text editor, so Platform/Text seemed to be the correct component. Please let me know if something else would be more appropriate.
Kai meant you want us to provide template support for general text editors. We do that now. However, we do not offer a generic preference page under Workbench > Editors as we do for example for Annotations or Quick Diff. Sounds like an interesting enhancement.
This would be a big plus. We have a .htm file (formatted for table data) that would benefit greatly from being able to specify templates (to get the default row types). It's a real hassle to have to do the template in a java file and then copy it in
See also bug 69581.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.