I have lots of errors regarding background images in css. This is because deployment relative paths will be different from my dev environment.
These are inconsequential errors that I know I can't do anything about. I would like to turn off checking for this so that real errors are noticeable again.
I checked in the settings and project structure and didn't see anything promising, but I can't help thinking i read about how to do this somewhere before.
Configure error highlightingPress Ctrl+Alt+S to open the IDE settings and select Editor | Color Scheme | General. You can also configure highlighting from inspection settings: go to Editor | Inspections, click any enabled inspection, and from the Highlighting in editor list, select Edit Highlighting.
From the main menu, select File | Repair IDE. IntelliJ IDEA will automatically launch the first recovery step and refresh the virtual file system. IntelliJ IDEA will display a notification that you can use to continue or complete the recovery process.
Found a potential answer while writing the question: Menu--> Analyze - analyze a document that has the unwanted error flagged. Then in Inspection Results, click the wrench and uncheck the Inspection you do not want to run. In my case this was under CSS, uncheck Unknown file or directory.
I also noticed this icon of a guy wearing a bowler hat with his back to you (wow) that, when clicked, can turn off redlining for a very specific error instance. This appears to also apply to any other document in the project with the same exact error. That's a bonus since I know the paths that are supposed to be used and just turn the error off for them and detect incorrect paths in my strange dev setup.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With