tantj_975
deepin
2021-07-21 08:11 C.sublime-build:
{
"shell_cmd": "gcc \"${file}\" -o \"${file_path}/${file_base_name}\" -lm -Wall",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c",
"variants":
[
{
"name": "Run",
"shell_cmd": "x-terminal-emulator -e bash -c \"\"${file_path}/${file_base_name}\" ; read -p 'Press any key to continue...'\""
}
]
}
C++.sublime-build:
{
"shell_cmd": "g++ \"${file}\" -o \"${file_path}/${file_base_name}\" -lm -Wall",
"file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$",
"working_dir": "${file_path}",
"selector": "source.c, source.c++",
"variants":
[
{
"name": "Run",
"shell_cmd": "x-terminal-emulator -e bash -c \"\"${file_path}/${file_base_name}\" ; read -p 'Press any key to continue...'\""
}
]
}
Reply Like 1 View the author


中文 
请问大神怎么在deepin环境下搭建一个sublime text C语言调试环境,要有启动命令行窗口的?麻烦指点下。