C++.sublime-build
{
"cmd": ["g++","-Wall", "${file}", "-o", "${file_path}/${file_base_name}", "-Wall", "-Wextra"],
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"encoding":"cp936",
"variants":
[
{
"name": "C++_Run",
"cmd": ["cmd", "/c", "g++", "-Wall", "-O2","${file}", "-o", "${file_path}/${file_base_name}", "&&", "cmd", "/c", "${file_path}/${file_base_name}"]
},
{
"name": "C++_RunInCommand",
"cmd": ["cmd", "/c", "g++", "-Wall", "-Wextra", "-Wshadow", "-O2","${file}", "-o", "${file_path}/${file_base_name}", "-Wl", "--stack=268435456", "&&", "start", "cmd", "/c", "${file_path}/${file_base_name} & echo.&pause"]
}
]
}
keymap
[
{ "keys": ["f11"], "command": "build" },
{ "keys": ["ctrl+e"], "command": "duplicate_line" },
{ "keys": ["ctrl+d"], "command": "run_macro_file", "args": {"file": "res://Packages/Default/Delete Line.sublime-macro"} },
{
"keys": ["ctrl+b"],
"command": "open_dir",
"args": {
"dir": "$file_path",
"file": "$file_name"
}
}
]
setting
{
"color_scheme": "Packages/Color Scheme - Default/Mariana.sublime-color-scheme",
"translate_tabs_to_spaces": true
}
复制洛谷主页 markdown:console.log(_feInstance.currentData.user.introduction)
标签:,name,keys,cmd,base,file,path From: https://www.cnblogs.com/forgotmyhandle/p/18059477