Freemarker inspections are inconsistent: some built-ins are marked as type-mismatch errors
已回答
Most often, I get errors that say "Type Mismatch: Built-in _______ is not applicable to 'String'". I've had the blank be 'substring', 'number', 'index_of', 'replace' and others. See image.
I'm unsure why this only happens about half the time. Regardless, it's annoying and it'd be appreciated if you would fix it.
You can see the error indicator multiple times in the following code, and the info popup on one of them.
Thanks!

请先登录再写评论。
Please report at https://youtrack.jetbrains.com/issues/IDEA with the small sample project to reproduce attached. Thank you.
thanks :)