Suppression inspection for a file?
Hello,
I am using PHPStorms file watcher to automatically compress CSS as explained in a help article. How can I prevent the .min file from showing errors and ignore it in inspections?
Thanks
Please sign in to leave a comment.
Normally the generated files have their highlighting level set to Syntax, i.e. inspections are not enabled for them, only syntax errors are reported:
But you can add *.min.css to Text file type patterns to exclude them from CSS index to prevent the .min file from showing syntax errors as well:
Thanks, where can I find that second screen?
Settings | Editor | File Types, Text
Thank you!