In IntelliJ live templates one can use $END$
to specify where the cursor should be placed once the template is expanded.
Is there a way to place multiple carets? Specifying multiple $END$
locations doesn't work. I sometimes need to type the same text into several places for what can be an auto-generated piece and that would be a nice expansion of functionality.
Currently as a solution I use "surround templates" where I can first type some text and then use $SELECTION
variable.