nette-intellij / intellij-latte

Latte plugin for IntelliJ IDEA platform
MIT License
113 stars 22 forks source link

Plugin incorrectly reports the translate filter as non-existent #201

Open Marian-Kechlibar opened 1 year ago

Marian-Kechlibar commented 1 year ago

Describe the bug

All uses of the translate filter, e.g.

{var $dateFormatForParams = ('kraken.picker.formatparams'|translate)}

are, during Code Inspection, annotated with a warning:

Undefined latte filter 'translate'

This is a built-in Latte filter, it shouldn't be treated as a custom filter.

Environment: