XF 2.0 Getting PhpStorm to ignore certain syntax errors

Jake B.

Well-known member
Currently, PhpStorm is giving me errors all over the place from XF template syntax such as using <xf:if in .less files and the {{ ($var) ? 'this' : 'that' }}/icode] syntax in .html files. Curious if anyone knows of a way to get PhpStorm to ignore these syntax errors while not ignoring actual errors