快捷键:
[
{
"keys": ["ctrl+shift+c"],
"command": "cancel_build"
},
{
"keys": ["alt+1"],
"command": "toggle_side_bar"
},
{ "keys": ["alt+o"], "command": "prompt_open_folder" },
{
"keys": ["ctrl+1"],
"command": "show_panel",
"args": {"panel": "build_results", "toggle": false}
},
{
"keys": [ "ctrl+alt+w"],
"command": "toggle_setting",
"args": {"setting": "word_wrap"}
},
{
"keys": ["ctrl+alt+f"],
"command": "new_folder"
},
{
"keys": ["alt+b"],
"command": "open_in_browser"
},
{
"keys": ["shift+enter"],
"command": "run_macro_file",
"args": {"file": "res://Packages/Default/Add Line Before.sublime-macro"}
},
{
"keys": ["alt+0"],
"command": "reindent",
"args": {"single_line": false}
},
{
"keys": ["alt+9"],
"command": "pep8_autoformat"
},
]
用户配置:
{
"font_size": 13,
"ignored_packages":
[
"Vintage",
],
"theme": "auto",
"update_check": false,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"expand_tabs_on_save": true,
"draw_white_space":"all",
"dark_theme": "Default.sublime-theme",
"light_theme": "Default.sublime-theme",
"python_interpreter": "/home/wtgg/.pyenv/shims/python", //python解释器的位置
//ST3也有自动补全提示,但只提示文件中输入过的单词,这个功能可用提示变量可用的函数等。
"suppress_word_completions": true,
"suppress_explicit_completions": true,
"complete_parameters": true,
//特殊情况处理
"swallow_startup_errors":true, //启动报错
"anaconda_linting":false, //取消不符合 PEP8 规范的提醒
//保存文件后自动pep8格式化
"auto_formatting": true,
"auto_formatting_timeout": 5,
//库函数的提示
"enable_signatures_tooltip": true,
"merge_signatures_and_doc":true,
}