sublime检测c语言语法错误,SublimeLinter-csslint 不检查基本的语法错误?

这个是我sublimelinter的用户配置:

{

"user": {

"debug": false,

"delay": 0.25,

"error_color": "D02000",

"gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme",

"gutter_theme_excludes": [],

"lint_mode": "load/save",

"linters": {

"csslint": {

"@disable": false,

"adjoining-classes": false,

"args": [

"--ignore=order-alphabetical,ids,box-model,font-sizes"

],

"box-sizing": false,

"compatible-vendor-prefixes": false,

"errors": "",

"excludes": [],

"floats": false,

"font-sizes": false,

"gradients": false,

"ignore": "",

"important": false,

"known-properties": false,

"outline-none": false,

"qualified-headings": false,

"regex-selectors": false,

"shorthand": false,

"text-indent": false,

"unique-headings": false,

"universal-selector": false,

"unqualified-attributes": false,

"warnings": ""

},

"htmltidy": {

"@disable": false,

"args": [],

"excludes": []

},

"jshint": {

"@disable": false,

"args": [],

"browser": true,

"curly": true,

"devel": true,

"eqeqeq": true,

"evil": true,

"excludes": [],

"forin": true,

"globals": {

"$": true,

"console": true,

"document": true,

"global": true,

"grunt": true,

"jQuery": true,

"module": true,

"setInterval": true,

"setTimeout": true,

"window": true

},

"jquery": true,

"latedef": true,

"noarg": true,

"noempty": true,

"quotmark": "single",

"strict": false,

"undef": true,

"unused": "vars",

"wsh": true

}

},

"mark_style": "fill",

"no_column_highlights_line": false,

"passive_warnings": false,

"paths": {

"linux": [],

"osx": [],

"windows": []

},

"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",

"javascript (babel)": "javascript",

"magicpython": "python",

"php": "html",

"python django": "python",

"pythonimproved": "python"

},

"tooltip_fontsize": "1rem",

"tooltip_theme": "Packages/SublimeLinter/tooltip-themes/Default/Default.tooltip-theme",

"tooltip_theme_excludes": [],

"tooltips": false,

"warning_color": "DDB700",

"wrap_find": true

}

}

然后,发现一个问题,如图:

bVTAjv?w=667&h=221

只是检测到下面的选择器,规则是空的,可是上面的颜色语法有写错,怎么不提示了?我的配置文件哪里有问题么?

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值