Sometimes I use Qt Creator when working on C kernel code, for Linux as well as the BSDs. Great IDE.