intellij is good all in all, but then if you want to edit php, you have to use its sibling product; phpstorm
furthermore, netbeans can recognize various amount of extension and can even format your codes nicely with alt + shift + f
and i only use intellij when i want to deploy mobile application onto android...eclipse really dam buggy with the deployment