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


submine 编译py2和py3_oo




2:去掉额外的系统path提示:

解决方案如下:

  1. 找到sublime text3安装目录,在目录下找到Packages里的Default.sublime-package, 比如Sublime Text 3\Packages\Default.sublime-package

  2. 解压Default.sublime-package包(改下后缀名为rar或zip即可解压),提取其中的exec.py文件

  3. exec.py文件放到D:\Program Files\Sublime Text 3.3126x64\Data\Packages\User路径下

  4. 修改exec.py文件,将文件的self.append_string(proc,self.debug_text)注释掉

  5. 重启Sublime Text


3:按键绑定添加:

{ "keys": ["ctrl+1"], "command": "show_panel", "args": {"panel": "console", "toggle": true} },


4.显示和隐藏侧边栏


{"keys": ["ctrl+k"],"command": "toggle_side_bar"},