给 SublimeJEDI 添加了快速 Python 切换功能,已 Pull,希望能合并
https://github.com/srusskih/SublimeJEDI/pull/305具体用法如下:
### Quick Select/Switch Python
Specify python interpreters used now and avaliabe
```json
// User/sublime_jedi.sublime-settings
{
"python_interpreter": "D:/Python36/python.exe",
"python_interpreters":
[
"D:/Python27/python.exe",
"D:/Python36/python.exe",
"D:/Python27/venv/Scripts/python.exe",
"D:/Python27/vexe/Scripts/python.exe",
"D:/Python36/venv/Scripts/python.exe",
"D:/Python36/vexe/Scripts/python.exe",
"D:/Python36/vweb/Scripts/python.exe"
]
}
```
And then, you can quick select/switch python by input 'SublimeJedi: Select Python' in command palette
When a python file is opened or activated, the python interpreter used by JEDI will show on statusbar