在windows中使用mac的崇高linter

时间:2014-05-29 20:35:26

标签: sublimetext2 sublimetext3 sublime-text-plugin sublimelinter

我在sublime文本中使用sublimelinter插件。 它在OS X中运行良好,但它在Windows中不起作用。 我认为问题是在Windows机器中设置路径。 你能告诉我我需要设置什么样的路径......

工作代码

 "paths": {
            "linux": [],
            "osx": [
                "/usr/local/bin/",
                "/usr/bin/"
            ],
            "windows": []
        },

在下面提供我的代码

{
    "user": {
        "debug": false,
        "delay": 0.25,
        "error_color": "D02000",
        "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",
        "gutter_theme_excludes": [],
        "lint_mode": "load/save",
        "linters": {
            "jshint": {
                "@disable": false,
                "args": [],
                "excludes": []
            },
            "json": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "strict": true
            },
            "scss": {
                "@disable": false,
                "args": [],
                "exclude-linter": "",
                "excludes": [],
                "include-linter": ""
            }
        },
        "mark_style": "outline",
        "no_column_highlights_line": false,
        **"paths": {
            "linux": [],
            "osx": [],
            "windows": []
        },**
        "python_paths": {
            "linux": [],
            "osx": [],
            "windows": []
        },
        "rc_search_limit": 3,
        "shell_timeout": 10,
        "show_errors_on_save": true,
        "show_marks_in_minimap": true,
        "syntax_map": {
            "html (django)": "html",
            "html (rails)": "html",
            "html 5": "html",
            "php": "html",
            "python django": "python"
        },
        "warning_color": "DDB700",
        "wrap_find": true
    }
}

0 个答案:

没有答案