submine 编译py2和py3
Python2.sublime-build 的内容如下:
{
"cmd": ["D:/Python27/python.exe","-u","$file"],
"file_regex": "^[ ]*File \"(...*?)\",line ([0-9]*)",
"selector": "source.python",
}
放到:
D:\Program Files\Sublime Text 3.3126x64\Data\Packages\User
2:去掉额外的系统path提示:
解决方案如下:
找到sublime text3安装目录,在目录下找到
Packages
里的Default.sublime-package
, 比如Sublime Text 3\Packages\Default.sublime-package
解压
Default.sublime-package
包(改下后缀名为rar或zip即可解压),提取其中的exec.py文件将
exec.py
文件放到D:\Program Files\Sublime Text 3.3126x64\Data\Packages\User
路径下修改
exec.py
文件,将文件的self.append_string(proc,self.debug_text)
注释掉重启Sublime Text
3:按键绑定添加:
{ "keys": ["ctrl+1"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },
4.显示和隐藏侧边栏
{"keys": ["ctrl+k"],"command": "toggle_side_bar"},