In what IDE do you write libraries for Arduino?

Well if we start mentioning product ...
I like my eclipse plugin. But I'm probably biased 8)
It is just that it provides me a single environment where I can easily do sketch and libraries compile and upload with nice features like bug marks, outline and jumps.

Best regards
Jantje