Usability improvements of Code Templates

Are you missing a feature? Request its implementation here.
ttasovac
Posts: 89
Joined: Fri Dec 19, 2003 6:02 pm

Usability improvements of Code Templates

Post by ttasovac »

oXygen code templates are great. I use them extensively, creating new ones and saving them as project options so that they are available to everybody working on a given project.

But there are a couple of issues with their usability that I would like to bring to your attention:
  • there is currently no way to search through code templates. There are hundreds of items there and finding a particular one involves a lot of scrolling.
  • I don't see a way to delete built-in templates from a project. This makes it more difficult to work with only the relevant code templates in a given project. Again, lots of scrolling...
  • there is no way to select multiple (either contiguous or non-contiguous) items. This would be useful if one wanted to turn on or off multiple templates (with a right-click dropdown menu), or delete them from a project.
If deleting or hiding code templates form a project would be too difficult to implement, having a search function alone would already be a big improvement and would allow us to work with templates more efficiently.

I hope you will consider this feature request.

All best,
Toma
Radu
Posts: 9536
Joined: Fri Jul 09, 2004 5:18 pm

Re: Usability improvements of Code Templates

Post by Radu »

Hi Toma,

Thanks for your improvement requests for our Preferences ->"Editor / Content Completion / Code Templates" page.
I added an internal issue for it, pasting the issue ID for future reference:
EXM-56235 Code Templates preferences page improvements

Indeed builtin new file templates cannot be removed, they can just be unchecked.
Maybe one option for you as an expert would be to open the project XPR file as an XML file in Oxygen (by drag and dropping it in the main editing area), see how the code templates are serialized at project level and then try to maybe modify the XPR with an XSLT stylesheet instead of using our preferences.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
ttasovac
Posts: 89
Joined: Fri Dec 19, 2003 6:02 pm

Re: Usability improvements of Code Templates

Post by ttasovac »

Thanks a lot, Radu!
All best,
Toma
Post Reply