Sublime Text Build without Saving - Anypreter

Sublimetext2 Build System

Sublimetext2 ships with its Build System. You can run a ruby file by Cmd + B (or through Tools -> Build menu).

One thing bothers me is you have to SAVE that file first, you can’t run “untitled” ruby code even you specified which build system (language) to use. This was the reason I still keep Textmate in my Mac, thanks to this plugin called Anypreter I can finally say goodbye to Textmate.

About Anypreter

You can install it through Package Control. It supports PHP, Python and Ruby.

After specify the language (suppose you haven’t saved it), Ctrl + Shift + X to run and check the result. Rightclick in the document works too.

Futher Reading

September 06, 2012 SublimeText


Qihuan Piao

Qihuan Piao

(aka kinopyo) is Chinese based in Tokyo. Software writer. He shares stories inspired him this blog. His infamous line - "I feel calm when I kill those monsters, or people (in game)" shocks his friends deeply.
He also writes in Japanese and Chinese.