For me, kate and kdevelop are the best editors/ide.
I'm using them even on non kde desktops..
Sure, there are a few bugs and features that could be added. But it is a no match for other editors when you compare with the criterions: open source, free, lightweight to use.