How can I suppress inspection-warnig "Tag start not closed"

Hi,

I have an .html site - but this is a smarty-template. (should have the ending *.tpl - but this files won't have the smarty-ending in the name).

So PHP'storm (IntelliJ 139.69.2) should supress this warning only for some files (I will place something like <!--suppress HtmlUnknownAttribute --> in the top off the file) is this possible?

cu

1 comment
Comment actions Permalink

Hi there,

Try this:
1) In "Settings | Scopes" create custom scope and include all such files in it
2) In "Settings | Inspections" find desired inspection and create new rule for the scope above (right click or via buttons). Now you can enable or disable this inspection for that scope.

0

Please sign in to leave a comment.