external editor

I want to use notepad++ to program and compile arduino codes....How can I do...?

A search of this site turned this up.