How to use variable value in live templates in Intellij IDEA?
问题 I want to create live template for setter. I've created this template How can I use value of par variable to generate value of var variable? Basically, I want to avoid redundancy here and put name of variable only once and other one will be generated automatically by some algorithm. UPDATE I want to clarify a little bit what I want to achieve. Suppose I want to create setter with name setTime which has parameter time . public void setTime(long time) { // ... } I don't want to type "time"