Hi James,

Just to clarify. My proposal was to have an insert template action that will show templates without filtering on already entered prefix - as this filtering makes the templates not to appear when you use CTRL+Space once you already have something typed in after a space.
So basically that action will be equivalent in terms of functionality with

Press space
CTRL+Space
... here you can insert a template or not ...
Remove the space added in step one

I will add also your idea with defining shortcuts for templates to the Jira entry.

Best Regards,
George
---------------------------------------------------------------------
George Cristian Bina - http://aboutxml.blogspot.com/
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com


James Cummings wrote:
George Cristian Bina wrote:
Hi James,

I see...
I will log an enhancement request on our Jira to provide an action called for instance "Insert template" that will trigger the insertion of a template at the current position without looking for an already entered prefix. You should be able to set a shortcut for that and invoke it then type the template name to select it.

That would seem to be a very good way to do it. So you'd have the template but then have a shortcut key that called that. Any possibility that you could just define those shortcut keys when creating the template? (Rather than have to define the template, then go associate a key with calling it.)

Another possibility is to have a view showing all the templates and have some insert actions from that view at the current caret position.

Less convenient than just being able to map it to a keystroke I'd say, but might be helpful to see them I suppose.

Many thanks,

-James


_______________________________________________
oXygen-user mailing list
[email protected]
http://www.oxygenxml.com/mailman/listinfo/oxygen-user

Reply via email to