IDE for php extensions development
===

I'm looking for an IDE or tutorial to configure an IDE for PHP extensions and source code development (using C and CPP)

I've used Xcode, Eclipse and Visual Studio (which in this case I'm not prefer because I wish to use Mac or Ubuntu to develop) but I don't know how to configure them for source-code highlighting and macro finding etc. (so if I see a macro that I don't know I can just click and move to the source code where it's defined, just like standard project)

I've already been able to compile extension in Linux, but edit it using Textedit is quite pain so I wish to get somehow an editor to help me out.

Thanks for all suggestions!