I mainly do .NET development and must admit Visual Studio is the best IDE around (especially with Resharper and other plugins/extensions). I would rate the jetbrains IDE's best in their class (IntelliJ idea, pycharm, rubymine, webstorm etc). I also found the eclipse distros pretty good as well (ex. Galileo).
Overall there are some pretty good IDE's around, just need to shop around a bit.
I personally use notepad++ as a text editor, although lately I have been favoring sublime text 2. Geany on Linux seems pretty solid as well.
The point stays that IDE's generally favor statically typed languages while text editors are generally used for dynamic, scripting and low level languages.