1. 程式人生 > >[sublime]用sublime搭建屬於自己的Python的IDE

[sublime]用sublime搭建屬於自己的Python的IDE

命令 找到 exist ram img star ng- where wall

先在sublime中利用package control下載anaconda插件,

然後更改python的路徑,不知道自己anaconda的python在哪,可以在prompt用命令where python進行查找

技術分享圖片

進行進入anaconda的setting-default中更改路徑

技術分享圖片

在setting-user中加入一下代碼

{
    "python_interpreter":"D:\\Anaconda\\envs\\tensorflow\\python",
    "suppress_word_completions":true,
    "suppress_explicit_completions
":true, "comlete_parameters":true, "swallow_startup_errors":true, "anaconda_linting":false }

接下來下載sublimeREPL插件,這個也要改我們python路徑

在Browse package中,找到sublimeREPL中config,並打開python中的Main.sublime-menu,將紅色部分更改為自己的路徑。

技術分享圖片

我們最後綁定快捷鍵,打開 key binding加入

[
    {
        "keys" : ["f5"],
        "caption
": "SublimeREPL: Python - RUN current file", "command": "run_existing_window_command", "args": { "id": "repl_python_run", "file": "config/Python/Main.sublime-menu" } } ]

大功告成

[sublime]用sublime搭建屬於自己的Python的IDE