sublime 3上的Pylinter不起作用

时间:2015-04-10 06:25:57

标签: sublimetext3 pylint

我的pylinter设置为:

{
    // When versbose is 'true', various messages will be written to the console.
    // values: true or false
    // "verbose": false,
    // The full path to the Python executable you want to
    // run Pylint with or simply use 'python'.
    "python_bin": "somewhere/bin/python",
    // Optionally set the working directory
    // "working_dir": null,
    // Full path to the lint.py module in the pylint package
    "pylint_path": "somewhere/lib/python2.7/site-packages/pylint/lint.py",
    // Optional full path to a Pylint configuration file
    // "pylint_rc": null,
    // Set to true to automtically run Pylint on save
    "run_on_save": true,
    // Set to true to use graphical error icons
    "use_icons": true,
    "disable_outline": false,
    "message_stay": true,
}

然而,当我保存python脚本时,什么都没发生。

1 个答案:

答案 0 :(得分:1)

您是否尝试过使用快捷方式?

OS X: Command+Alt+z

Linux,Windows: Control+Alt+z