如何在 Sublime Text 3 中使用 xmllint?
How do I use xmllint in Sublime Text 3?
我最近在 Sublime Text 3 中安装了 SublimeLinter,以帮助我正确编写 JavaScript 文件。我还设置了 xmllint 来帮助我处理 XML 文件。但是我无法在 Sublime Text 3 中将其设置为 运行。我按照 these steps 进行安装并 运行ning,我可以从命令提示符中列出它的目录,一切都井井有条。 Xmllint 也在 Sublime Text 3 中启用。但是,当我在 Sublime Text 3 中使用 XML 文件时,linter 似乎无法正常工作。我如何配置 xmllint 以便它 运行 在 Sublime Text 3 中?
在底部的信息片段中找到答案 here:
On Windows, linter errors messages will not always appear. It appears
to be a bug in python.
及以下:
Unlike the other error messages mentioned earlier, you would not see
this message unless debug mode was turned on, because it isn’t an
error message detected by SublimeLinter, it is the output captured
from the [...] executable. So if you aren’t seeing any errors or
warnings in the console and the linter isn’t working, turn on debug
mode to see if you can find the source of the problem.
我最近在 Sublime Text 3 中安装了 SublimeLinter,以帮助我正确编写 JavaScript 文件。我还设置了 xmllint 来帮助我处理 XML 文件。但是我无法在 Sublime Text 3 中将其设置为 运行。我按照 these steps 进行安装并 运行ning,我可以从命令提示符中列出它的目录,一切都井井有条。 Xmllint 也在 Sublime Text 3 中启用。但是,当我在 Sublime Text 3 中使用 XML 文件时,linter 似乎无法正常工作。我如何配置 xmllint 以便它 运行 在 Sublime Text 3 中?
在底部的信息片段中找到答案 here:
On Windows, linter errors messages will not always appear. It appears to be a bug in python.
及以下:
Unlike the other error messages mentioned earlier, you would not see this message unless debug mode was turned on, because it isn’t an error message detected by SublimeLinter, it is the output captured from the [...] executable. So if you aren’t seeing any errors or warnings in the console and the linter isn’t working, turn on debug mode to see if you can find the source of the problem.