Code highlighting (as well as find usages, refactorings, code generation, code analysis and more) may depend on the on the set of preprocessor definitions which determine the rules of parsing and therefore the way of resolving a code. These rules are also known as the resolve context and are automatically selected according to the active run/debug configuration.
To switch the current resolve context, do one of the following
On the run/debug configuration selector of the Navigation Bar, select the desired run/debug configuration. The resolve context switches automatically following the selected configuration:
On the right - bottom corner of the status bar, open the list of available contexts and select the desired one: