当前位置: 代码迷 >> PHP >> Sublime TexT 三 SublimeLinter For php 配置
  详细解决方案

Sublime TexT 三 SublimeLinter For php 配置

热度:219   发布时间:2016-04-28 18:09:37.0
Sublime TexT 3 SublimeLinter For php 配置

Sublime Text 3 的确是比2 有提升不少,前期鉴于缺少各种插件,没有使用,近期开始使用。发现对于 SublimeLinter 的使用有很大变化,写在这里记录下。

1 需要的package:?SublimeLinter +?SublimeLinter-php

2 配置:

? ? Preference > Package-Settings >SublimeLinter > Settings-User:

? ?添加了php_paths: 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": "background",        "linters": {            "php": {                "@disable": false,                "args": [],                "excludes": []            }        },        "mark_style": "outline",        "no_column_highlights_line": false,        "passive_warnings": false,        "paths": {            "linux": [],            "osx": [],            "windows": []        },        "php_paths": {            "linux": [],            "osx": [],            "windows": [                "D:\\xampp\\php"            ]        },        "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    }}

?

?

  相关解决方案