最近在写php代码,以前写前端,还是想用sublime 3来编辑php,自己安装插件的时候出现了一些问题

想用sublime 编写php, 在网上倒腾了很多的插件,安装下来都有问题, 最近sublime自动更新到最新的版本. 请问如果用sublime编写php, 下载哪些插件,以及如何安装. 我自己安装了sublimelinter-php, sublimelinter. 始终不能弹出php代码错误. 我把sublimelinter配置文件放在下面,看看我到底哪些写错了

{
    "user": {
        "debug": true,
        "delay": 0.25,
        "error_color": "D02000",
        "gutter_theme": "Packages/SublimeLinter/gutter-themes/Hands/Hands.gutter-theme",
        "gutter_theme_excludes": [],
        "lint_mode": "background",
        "linters": {
            "annotations": {
                "@disable": false,
                "args": [],
                "errors": [
                    "FIXME"
                ],
                "excludes": [],
                "warnings": [
                    "NOTE",
                    "README",
                    "TODO",
                    "XXX",
                    "@todo"
                ]
            },
            "jshint": {
                "@disable": false,
                "args": [],
                "excludes": []
            },
            "php": {
                "@disable": false,
                "args": [],
                "excludes": []
            },
            "summitlinter": {
                "@disable": false,
                "args": [],
                "excludes": [],
                "globals": "",
                "ignore": "channel",
                "limit": null,
                "only": ""
            }
        },
        "mark_style": "outline",
        "no_column_highlights_line": false,
        "passive_warnings": true,
        "paths": {
            "linux": [],
            "osx": [],
            "windows": [
                "D:\\EasyPHP\\EasyPHP-Devserver-16.1\\eds-binaries\\php\\php704vc14x86x160923202106"
               //这里用的是EasyPHP自带的php,系统变量里设置的也是这里的php
            ]
        },
        "python_paths": {
            "linux": [],
            "osx": [],
            "windows": []
        },
        "rc_search_limit": 3,
        "shell_timeout": 10,
        "show_errors_on_save": true,
        "show_marks_in_minimap": true,
        "sublimelinter": "save-only",
        "sublimelinter_executable_map": {
            "php": "D:\\EasyPHP\\EasyPHP-Devserver-16.1\\eds-binaries\\php\\php704vc14x86x160923202106\\php.exe"
        },
        "syntax_map": {
            "html (django)": "html",
            "html (rails)": "html",
            "html 5": "html",
            "javascript (babel)": "javascript",
            "magicpython": "python",
            "php": "php",
            "python django": "python",
            "pythonimproved": "python"
        },
        "warning_color": "DDB700",
        "wrap_find": true
    }
}

在sublime 控制台输出的错误提示如下

+ Info: processing `PHP': please wait...
Could not import subprocess32 module, falling back to subprocess module

请问该如何才能用上代码错误提示,  谢谢!!!

小新在编程
浏览 3477回答 1
1回答

简简霭单单

推荐用phpstorm.嘻嘻
打开App,查看更多内容
随时随地看视频慕课网APP