Sublimetext3 ST3超级链接器,带有HTML';不服从args
我想抑制各种无用的linter错误报告,例如缺少“content”属性。因此,我尝试在SublimiteLiner中设置选项。Sublimite-settings:Sublimetext3 ST3超级链接器,带有HTML';不服从args,sublimetext3,sublimelinter,Sublimetext3,Sublimelinter,我想抑制各种无用的linter错误报告,例如缺少“content”属性。因此,我尝试在SublimiteLiner中设置选项。Sublimite-settings: "linters": { "htmltidy": { "@disable": false, "args": [-xxx true], "excludes": [] } }, 等等,他们似乎什么也不做。我做错什么了
"linters": {
"htmltidy": {
"@disable": false,
"args": [-xxx true],
"excludes": []
}
},
等等,他们似乎什么也不做。我做错什么了吗?设置文件是一个JSON文件,看起来您的编辑不是有效的JSON。请尝试在参数周围加引号,或者:
"args": ["-xxx true"]
或
这对我很有用:
"linters": {
"htmltidy": {
"@disable": false,
"args": [
//http://tidy.sourceforge.net/docs/quickref.html
"--drop-proprietary-attributes", "false"
],
"excludes": []
}...
它可能是有效的JSON,并且不会抛出错误,但实际上并没有应用drop专有属性,请尝试在sublimiteLiner.sublimite-settings中启用调试模式
"linters": {
"htmltidy": {
"@disable": false,
"args": [
//http://tidy.sourceforge.net/docs/quickref.html
"--drop-proprietary-attributes", "false"
],
"excludes": []
}...