"Unresolved filter" WebStorm 中的警告,与 Vue 一起工作

"Unresolved filter" warning in WebStorm, working with Vue

无论我在 Vue 模板中使用什么过滤器,它都会用绿色下划线显示一条消息“未解析的过滤器”

我该如何解决这个问题?还是我应该向 WebStorm 提出问题?我的过滤器在外部模块中定义。

您可以按照此处的说明禁用所有或特定未解决的项目: https://www.jetbrains.com/help/webstorm/disabling-and-enabling-inspections.html?keymap=secondary_eclipse#disable-inspections

具体案例:

Disable an inspection in the editor

Place the caret at the highlighted line and press ⌥⏎ (or click the Intention action icon to use the intention action).

Click the arrow next to the inspection you want to disable, and select Disable inspection.

已知问题:

https://youtrack.jetbrains.com/issue/WEB-42191

希望它会在未来的某个时候得到解决。