I’ve used Huebler’s original Notepad++ files to get the ability to run Stata code directly from Sublime Text 2.
Just download Huebler’s files from: http://enoriver.net/index.php/2008/09/10/edit-stata-do-files-with-notepad-2/
Then in ST2 go to Preferences>Key Bindings: User, and paste in the following code:
[ { "keys": ["f9"], “cmd”: ["C:\\ado\\personal\\rundo.exe", "$filepath//$filename"] } ]
Replacing with your preferred keybind and directory structure, of course. You can do the same with the rundolines.exe file as well.