想用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请问该如何才能用上代码错误提示, 谢谢!!!
1 回答
- 1 回答
- 0 关注
- 3476 浏览
添加回答
举报
0/150
提交
取消