[sublime]用sublime搭建属于自己的Python的IDE

先在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"
        }
    }
]

大功告成

 

相关文章

作为一名初次使用MaxCompute的用户,我体会颇深。MaxCompute...
近日,CloudToolkit正式推出了面向IntelliJ和Eclipse两个平台...
PyCharm是一种PythonIDE,带有一整套可以帮助用户在使用Pyth...
标题: 【下载】APK可视化修改工具:APK改之理(APKIDE)作者...
背景描述有时候Python应用的代码在本地开发环境运行十分正常...
1.注册SAP账号登录SAP官网:https://www.sap.com/index.html...