[工具] 将Sublime Text 3配置为C++代码编辑器
{ "path": "C:\\Dev-Cpp\\bin", "cmd": ["g++.exe", "${file}", "-o", "${file_path}/${file_base_name}"], "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$", "working_dir": "${file_path}", "selector": "source.c, source.c++", "encoding":"UTF-8", "encoding": "cp936", "variants": [ { "name": "Run", "shell": true, "cmd" : ["start", "cmd", "/k", "${file_path}/${file_base_name} &&echo. & pause && exit"] } ] }
Powered By D&J (URL:http://www.cnblogs.com/Areas/)