问题描述
我在教程中看到,原子中的linter
必须突出显示与文本内联的html语法错误,并且还突出显示附近带有红色气泡的行,如下所示:
I saw in tutorials that linter
in atom must highlight html syntax errors inline with text and it also highlights lines with red bubbles near them like below:
除了linter
之外,我还安装了linter-htmlhint
,但是它没有帮助,目前我的原子编辑器仅报告错误,并且未在文本中高亮显示它们:
I installed linter-htmlhint
besides of linter
but it did not help and currently my atom editor only reports error and do not highlight them inline with text:
我该怎么办?这是我已安装的插件的列表:
What Should I do?Here is list of my installed plugins:
- atom-html-preview
- atom-ternjs
- autoclose-html
- 忙信号
- csslint
- emmet
- html提示
- 意图
- language-ejs
- 衬里
- linter-eslint
- linter-htmlhint
- linter-jshint
- linter-ui-default
- 浏览器开放
- 颜料
- 崇高风格的列选择
- atom-html-preview
- atom-ternjs
- autoclose-html
- busy-signal
- csslint
- emmet
- htmlhint
- intentions
- language-ejs
- linter
- linter-eslint
- linter-htmlhint
- linter-jshint
- linter-ui-default
- open-in-browsers
- pigments
- Sublime-Style-Column-Selection
推荐答案
我在1.26上遇到了此问题,并且Atom的升级使其又可以正常工作.
I had this problem with 1.26 and an upgrade of Atom made it work again.
我只是在这里遵循建议:如何在Linux上升级Atom Editor?
I just followed the suggestion here: How to upgrade Atom Editor on Linux?
这篇关于Atom:为什么Linter不会在文本中高亮显示我的错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!