title: Eclipse PHP code hinting question
body: <p>Is there a way to make Eclipse give code hints to variables created from objects? For example if I create a new variable:</p>
  
  <pre><code>$db = new mysqli('server', 'user', 'pwd', 'database');
  </code></pre>
  
  <p>then <code>$db-&gt;</code> brings up code hints, but if I do:</p>
  
  <pre><code>$query = 'Select * From thisTable';
  $result = $db-&gt;query($query);
  </code></pre>
  
  <p>but then if I use:</p>
  
  <pre><code>$result-&gt;
  </code></pre>
  
  <p>I do not get any code hints.. I'm pretty new to Eclipse and PHP. I have searched around but could not find anything related to this. I did notice while trying out the new version of Dreamweaver CS5.5 it does do code hinting for the above scenario. </p>