PhpStorm,在错误检查中忽略某些标签?

PhpStorm, ignore certain tags in error checking?

我正在使用 CouchCMS,这是一个出色的小型内联 CMS。许多功能需要自定义标签,例如 <cms:editable></cms:editable>

PhpStorm 一直告诉我这些是无效的(我想这就是它试图说的)

它们都在滚动条上显示为红线,并在分析中显示为错误。我如何告诉 PhpStorm 这没问题?

它为 <cms:template> 标签抛出不同的错误,因为它在文档类型之前。

  1. 打开 File > Settings > Editor > Inspections
  2. 展开XML
  3. 取消选中 Unbound XML namespace prefix