Command Line from within Sublime Text

command linejavasublime-text-2

I recently switched from Notepad++ to Sublime Text 2, and it's amazing. There's one thing I'd appreciate and that's compiling my files from the same environment. Sublime text has a console and a command pallets, but none of them can execute regular windows commands.

So for example, I'd simply like to run javac program.java and java program from a console from within Sublime Text.

Is such thing possible yet? If so, how to do it?

Best Answer

The "Show Console" button shows the Python console that is embedded into Sublime Text not the usual OS terminal. If you want to open a terminal in the folder containing the edited file you can try Sublime Terminal package.

EDIT: @Darren: if so then look in the Internet on how to run terminal commands from python shell, Google has a lot of links to them.

Related Question