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

4 comments

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:

 

0

Thanks, where can I find that second screen?

0

Settings | Editor | File Types, Text

0

Please sign in to leave a comment.