How to use the console within Sublime Text
问题 I'm using Sublime Text 2 to code my programs, and want to run the console within it to compile and run them. Is there any way to embed the console command line inside Sublime Text 2? Is it already there? I'm using both Windows and Linux. 回答1: I think you can try creating a custom Build System . Tools --> Build System --> New Build System... This is a simple build script for the C programming language: { "cmd" : ["gcc", "$file", "-o", "$file_base_name"], "cmd" : ["$file_base_name"], "selector"