
There is, PHPEclipse, Eclipse PDT, Aptana PHP plugin-in, Zend Development Environment, etc. can all do that for you, as well as pre-process for any syntax or other errors by just parsing the PHP source. It really cuts down on API reference lookups and helps reduce simple typing errors, etc.
Very nice. Writing templates is even easier now
I wish there was something similar for the API functions (auto-completion, hints etc.)
All these editors use PHP itself to pre-parse the PHP files and provide you with all function and classes/functions you have defined. It also reports syntax errors, warnings, and other problems you normally won’t find until you execute your script. This reduces simple typo errors to nothing and let’s you focus on the real programming problems.
I’m not sure I understand. I meant the MODx API functions/vars etc., not just "regular" PHP. Wouldn’t I need some sort of Eclipse extension/plugin so the editor recognizes stuff? How do those editors load the specific API infos? Do they scan the entire modx folder for PHP files and extract it that way? Or did other people already write specific extensions for those editors?