title: how to better use of eclipse code templates (PHP)?
body: <p>One particular problem I was having was using ${word_selection} in an Eclipse PDT template.</p>
  
  <p>I was recently trying to use some code templates with Eclipse PDT 2.1 to speed up some common tasks.  We use a lot of getters/setters, so I wrote the following template.</p>
  
  <pre><code>function get${word_selection}() {
  return $$this-&gt;getData('${word_selection}');
  }
  
  function set${word_selection}($$${word_selection}) {
  $$this-&gt;setData('${word_selection}', $$${word_selection});
  }
  </code></pre>
  
  <p>I named the template "getset" and the only way I know to use the Code Assist is to type: "getset" then hit my code assist keys (I have it set to Esc, but I think the default was Ctrl+Space).  The problem is, this doesn't actually let me select a word to be used by the ${word_selection}. </p>
  
  <p>how do I type in my template name, hit the key combo, and have a word selected all at the same time? </p>
  
  <p>I also want to know what kinds of templates people have set up and any other tips for using templates to speed of programming.</p>