title: Netbeans Code Templates Formatting syntax
body: <p>I'd like to know what's the syntax or the language used to format the code templates in netbeans ide. I mean, in the default templates I can see things like;</p>
  
  <pre><code>while (${EXP default="exp"})
  { 
     ${selection line}${cursor} 
  }
  </code></pre>
  
  <p>And:</p>
  
  <pre><code>// &lt;editor-fold defaultstate="collapsed" desc="${comment}"&gt;
  ${selection}${cursor}// &lt;/editor-fold&gt;
  </code></pre>
  
  <p>And I experimented and did this:</p>
  
  <pre><code>int ${IDX newVarName default="loop"};
  
  for (${IDX} = 0; ${IDX} &lt; ${SIZE int default="size"}; ${IDX}++)
  {
     ${cursor}
  }
  </code></pre>
  
  <p>And it works but I don't really know where the <b>"${IDX}"</b> or the <b>"${SIZE int default="size"}"</b> or the <b>"${selection}${cursor}"</b> comes from and what other statements can I use to format my templates.</p>
  
  <p>Is this some scripting or programming language?</p>
  
  <p>Where can I find this information?</p>