Hello! I wonder if it's possible to disable Inspections for the code that is not relevant/disabled by conditional compilation directives?
We have quite a complex project in different programming languages and parts of our code have definitions of the same variables inside #ifdef defines and IntelliJ Idea warns a lot about duplicate variable definitions. Like
It's just a small example of what we face, but the problem is much more complex. I want to disable Inspections for the case where SpecificEnvironment is not defined. Is it possible? Eclipse was able to do that.