想用sublime 編寫php, 在網(wǎng)上倒騰了很多的插件,安裝下來都有問題, 最近sublime自動更新到最新的版本. 請問如果用sublime編寫php, 下載哪些插件,以及如何安裝. 我自己安裝了sublimelinter-php, sublimelinter. 始終不能彈出php代碼錯誤. 我把sublimelinter配置文件放在下面,看看我到底哪些寫錯了{(lán)
????"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,系統(tǒng)變量里設(shè)置的也是這里的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請問該如何才能用上代碼錯誤提示, ?謝謝!!!
添加回答
舉報
0/150
提交
取消