插件:
SublimeCodeIntel、SublimeREPL、Anaconda、IMESupport、AutoPEP8
SublimeCodeIntel:
{
"python":{
"python":"C:/Python37/python.exe", //python 的安装路径
"pythonExtraPaths":[
"C:/Python37", //python 的安装路径
"C:/Python37/DLLs", //python 的安装路径
"C:/Python37/Lib", //python 的安装路径
"C:/Python37/Lib/site-packages", //python 的安装路径
]
}
}
Anaconda:
{
//忽略各种空格不对, 超过80字, import的函数没有使用的提醒,
"pep8_ignore": ["E501", "W292", "E303", "W391", "E225", "E302", "W293", "E402"],
"pyflakes_explicit_ignore":
[
"UnusedImport"
],
//保存文件后自动pep8格式化
"auto_formatting": true,
//库函数的提示
"enable_signatures_tooltip": true,
"merge_signatures_and_doc":true,
"anaconda_linting": false,
}
IMESupport:
解决输入法不跟随的问题
[
{
"keys": ["f5"],
"caption": "SublimeREPL: Python - RUN current file",
"command": "run_existing_window_command",
"args": {
"id": "repl_python_run",
"file": "config/Python/Main.sublime-menu"
}
}
]