intellij idea - Is it possible to use live-templates as file templates? -
In Intellij products, I am very fond of live templates. I am surprised that it is possible to use the same syntax for file templates. , E.g. A variable formatting for snakes- or camel-camis, defining the position of an initial cursor and so on. Unfortunately you do not use the same functions / macros available in the live templates in file templates.
Can do Using File Templates This allows some Java (?) Simple ways to run on variables (like #set ($ class_start = $ class.substring (0,1) ) .toUpcase ())
). It is possible that more complex methods will also work as well.
UPDATE (2017/01/13):
2016.1 (or maybe 2016.2) version now file templates It is possible to use some live templates (by checking the Enable enabled template
checkbox for that file template) I'm not 100% sure if it is requested that they work here. (<"
Comments
Post a Comment