title: How to use variable value in live templates in Intellij IDEA?
body: <p>I want to create live template for setter.</p>
  
  <p>I've created this template
  <img src="https://i.stack.imgur.com/OoRLv.png" alt="enter image description here"></p>
  
  <p>How can I use value of <strong>par</strong> variable to generate value of <strong>var</strong> 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. </p>
  
  <p><strong>UPDATE</strong></p>
  
  <p>I want to clarify a little bit what I want to achieve. </p>
  
  <p>Suppose I want to create setter with name <strong>setTime</strong> which has parameter <strong>time</strong>. </p>
  
  <pre><code>public void setTime(long time)
  {
      // ...
  }
  </code></pre>
  
  <p>I don't want to type <em>"time"</em> twice - capitalized and non-capitalized. I want to type just parameter name so method name will be generated automatically.  </p>
  
  <p><strong>UPDATE (Answer)</strong></p>
  
  <p>Turned out that variable order is important. This is final result of what I want</p>
  
  <p><img src="https://i.stack.imgur.com/WQxim.png" alt="enter image description here"></p>