安裝PythonIDE -Anaconda
打開subtext,通過快捷鍵 cmd+shift+P 打開 Package Control 來安裝其他的插件了。
輸入 install 然后你就能看見屏幕上出現了 Package Control: Install Package,點擊回車然后搜索你想要的插件(比如Anaconda)
安裝Anaconda

安裝Anaconda插件完成之后,會看到如下選項欄,說明Anaconda安裝成功。

由於Anaconda插件本身無法知道Python安裝的路徑,所以需要設置Python主程序的實際位置。
選擇Settings-Default選項,搜尋“python_interpreter” key,並鍵入python主程序的磁盤位置。

選擇Settings-Users選項,鍵入以下json數據。保存,重啟即可

{ "python_interpreter": "C:/Program Files/Python36/python.exe", /* Set those as true if you don't want Sublime Text regular completions */ "suppress_word_completions": true, "suppress_explicit_completions": true, /* If complete_parameters is true, anaconda will add function and class parameters to its completions. If complete_all_parameters is true, it will add all the possible parameters, if it's false, it will add only required parameters */ "complete_parameters": true, "complete_all_parameters": false, }

接下來,就會發現,編寫python代碼時會有提示功能。

Anaconda插件還有很多功能
- Goto Definitions 能夠在你的整個工程中查找並且顯示任意一個變量,函數或者類的定義。
- Find Usage 能夠快速的查找某個變量,函數或者類在某個特定文件中的什么地方被使用了。
- Show Documentation: 能夠顯示一個函數或者類的說明性字符串(當然,是在定義了字符串的情況下)
