pythonsublimetext2coderunner

Customizing Sublime Text 2 to be like CodeRunner


I've been using Sublime Text for a while now, but I checked out CodeRunner and there are a 2 features I really like about it that I'd like to get working in Sublime.

1) Run / Custom Run command: I like in CodeRunner how it will determine the type of file from the extension (.py, .js) and run a terminal command in an embedded terminal. You can also customize the run command for your specific use.

2) Boilerplate code: When you create a new file of some time, CodeRunner has boilerplate code setup for you. I suppose I could try to so this with snippets, but is that the best way of going about it?

Thanks


Solution

  • 1) You can customize the command to be launched according to the type of file by using sublime build system

    2) Snippets looks indeed the best way to provide boilerplate code.