SuppressWarnings("SyntaxError") not working

Answered

I'm following the instructions here:

https://www.jetbrains.com/help/idea/suppressing-inspections.html

in order to get rid of SQL error "<statement> or delimiter expected, got ..." on some SQL syntax I am constructing.

However the red underline and the error count for the class are not going away.

When I bring up the inspection results again, the errors are not listed in the dialog.

In fact when I bring up the list of inspections in the project settings, there are only warning-level inspections listed for SQL and no errors at all.

I have re-scanned the class, closed IntelliJ and re-opened, and invalidated the caches and restarted (this has been going on for about a week now).

0
1 comment
Avatar
Yaroslav Bedrov

Hello Adam,

Please follow the related issue on YouTrack: https://youtrack.jetbrains.com/issue/IDEA-191091

0

Please sign in to leave a comment.