2014-01-18 73 views
1

我安装的软件包SublimePythonIDE。 Error-Highlightning工作正常,但autocopletion不起作用。这里我的配置:崇高文字的Python自动完成

{ 
    // leave empty string to use default system interpreter 
    // e.g. /usr/local/bin/python 
    // or "C:\\Python27\\python.exe" 
    // if you use virtualenvs, then set the absolute path to the virtualenv's 
    // python in your project settings (Project->Edit Project) as in: 
    // 
    // { 
    //  "folders": ... 
    //  "settings": 
    //  { 
    //   "python_interpreter": "/Users/USER/.virtualenvs/PROJECT/bin/python" 
    //  } 
    // } 
    "python_interpreter": "D:/Python27/", 

    // make python_open_documentation command output in a view or in the output 
    // panel if false 
    "open_pydoc_in_view": false, 

    // when a doc view is created it will be placed in the active view group 
    // if false and only one group exist then a new group will be created 
    "create_view_in_same_group": false, 

    // Linter settings 
    "python_linting": true, 
    "python_linter_mark_style": "outline", // "none" or "outline" 
    "python_linter_gutter_marks": true, 
    "python_linter_gutter_marks_theme": "simple", // see folder gutter_mark_themes 
    "pep8": true, 
    "pep8_ignore": [], 
    "pep8_max_line_length": 80, 
    "pyflakes_ignore": [] 
} 

我错了什么?

+0

可能不是你有兴趣,但对崇高包蟒蛇似乎工作良好开箱。它使用pythonpath来查找我认为自动完成的解释器。它也会出错handeling和linting。此外,标准“你尝试关闭和再次打开”? :P – M4rtini

回答

2

如果你看一下上线3和4的例子中,你会发现你需要提供了Python可执行文件的完整路径。因此,请将您的线路更改为:

"python_interpreter": "D:\\Python27\\python.exe", 

并且您应该全部设置。

相关问题