Ok, you know exactly what I'm talking about. So I you even find the
solution, please let me know.
At the meantime, does anyone else know what to do about this?
Unfortunately this isn't a problem with PDT per say. It is a problem
with the way the project is setup in Eclipse and there is additional
steps needed to make sure the Javascript interpreter knows that you are
using jQuery. I am currently in the same process of getting Drupal
projects JS files working with Eclipse. If you do a web search for
"eclipse jquery" you will see some documentation on the topic. I haven't
found a great step-by-step guide to do this setup yet. In the general
sense you have to include the the javascript files within the misc
directory as an included files to the project even if you aren't
interacting with it directly. So jquery.js and drupal.js would be two
files as included scripts available to the other javascript files.
If / when I find a good guide to getting jQuery working in Eclipse I
will post it here.