In my IntelliJ project I have this file:
MyMvnModule\src\main\webapp\WEB-INF\Owasp.csrfguard.js
This file contains these placeholders that are filled in by a servlet at run time:
} else if(%DOMAIN_STRICT% == false) {
...
}
IntelliJ sees that %DOMAIN_STRICT%
is a syntax error which causes it to angry red underline every folder in the path to that file. Is there a way to keep intelliJ from syntax checking this one file so that this doesn't happen?
To change the highlighting level for the current file: