Maison  >  Article  >  développement back-end  >  Sublime TexT 三 SublimeLinter For php 配置

Sublime TexT 三 SublimeLinter For php 配置

WBOY
WBOYoriginal
2016-06-13 12:11:24944parcourir

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

?

?

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn