Multiple ${caret} variables in Code Templates

Are you missing a feature? Request it's implementation here.
BLandolt
Posts: 1
Joined: Thu Aug 15, 2019 4:14 pm

Multiple ${caret} variables in Code Templates

Post by BLandolt » Thu Aug 15, 2019 5:00 pm

I hope, I'm not missing that this already exists.

In code templates, it happens quite a lot, that you'll need to fill in text at two points (e.g. an attribute, plus text in the tag).

So it would be very useful to be able to have multiple ${caret} variables in templates; and when inserting the template, to be able to jump to the next one by hitting Tab (and to jump back with Shift + Tab). And when at the last ${caret}, to jump to the end of the Template by hitting Tab.
This behavior is quite common in IDEs for Sorftware Developement (e.g. PyCharm or IntelliJ), so it's probably not only me finding that praktical.

I'd be happy to see this in the future. Thanks!

Radu
Posts: 6582
Joined: Fri Jul 09, 2004 5:18 pm

Re: Multiple ${caret} variables in Code Templates

Post by Radu » Fri Aug 16, 2019 8:17 am

Hi,

Thanks for the feature request, I added an internal issue for it and if we implement it in the future we'll update this forum thread.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Post Reply