I've been delighted with Eclipse PDT's context-sensitive lookup capabilities for PHP. I'm hoping for the same functionality for a Javascript-heavy project I'm working on but I've been unable to get Eclipse to do it for me.

I created a new Project and imported my existing Javascript and PHP code but when I try to use F3 within a Javascript file, it will look up vars locally defined but does not offer any code hinting or visibility to functions or classes defined in other Javascript files.

Can anyone recommend a means by which I can set up a true context-sensitive Javascript editor?

    I have a good impression of IntelliJ's PyCharm IDE for Python. Maybe you should check out their PhpStorm IDE for PHP as it comes with a Javascript editor.

      Thanks for the input. I realized that Eclipse PDT does in fact allow cross-file var/function/class lookups. I just had to wait for it to index all the JS files in this sizeable project.

      phpStorm looks good though. Especially the Javascript debugging featured in the last video on this page.

        Write a Reply...