当前位置:Gxlcms > PHP教程 > SublimeTexT三SublimeLinterForphp配置

SublimeTexT三SublimeLinterForphp配置

时间:2021-07-01 10:21:17 帮助过:34人阅读

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

?

?

人气教程排行