简体   繁体   中英

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

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM