Use an external program to edit sketches?

Im new to arduino (windows user) so maybe i've missed it. What im currently doing is writing my code in Notepad++ and copy/paste it into the arduino IDE and compile. Is there a simple way to just save in notepa++ and it automatically refresh in arduino?

Check out File + Preferences, paying particular attention to the second check box.