SublimeREPL和IPython


问题内容

当我尝试将IPython与SublimeREPL结合使用时失败。

我的设置是:

- Windows 8.1
- Sublime Text 3
- C:\Python34
- C:\Python27
- C:\Anaconda3\Scripts -> Here it's where Ipython is

我的PYTHONPATH和PATH是正确的,我在SublimeREPL设置中写道-用户:

{
    "default_extend_env": {"PATH": "{PATH};C\\Anaconda3\\Scripts"}
}

问题答案:

解决了 我在文件Main.sublime-menu夹中创建一个名为Sublime Text 3\Packages\User\SublimeREPL\config\Python

[
{
    "id": "tools",
    "children":
    [{
        "caption": "SublimeREPL",
        "mnemonic": "r",
        "id": "SublimeREPL",
        "children":
        [
            {
                "caption": "Python",
                "id": "Python",

                "children":[
                    {
                        "command": "repl_open",
                        "caption": "IPython - Anaconda",
                        "id": "repl_python_ipython",
                        "mnemonic": "p",
                        "args": {
                            "type": "subprocess",
                            "encoding": "utf8",
                            "autocomplete_server": true,
                            "cmd": ["C:/Anaconda3/Scripts/ipython", "--colors=NoColor"],
                            "cwd": "$file_path",
                            "syntax": "Packages/Python/Python.tmLanguage",
                            "external_id": "python"

                        }
                    }
                ]
            }
        ]
    }]
}
]