Home  >  Article  >  Backend Development  >  Sublime TexT 三 SublimeLinter For php 配置

Sublime TexT 三 SublimeLinter For php 配置

WBOY
WBOYOriginal
2016-06-13 12:11:24942browse

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    }}

?

?

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn