CLion 2018.3 Help

Resolve Context

Code highlighting (as well as find usages, refactorings, code generation, code analysis and more) may depend 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 defined by corresponding CMake profile. The number and character of resolve contexts that are available for a certain project is defined by the number of CMake profiles (and their settings) created in the project.

To switch the current resolve context, do one of the following

  1. 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:

  2. On the right - bottom corner of the status bar, open the list of available contexts and select the desired one:

    cl TutorialResolveContext

Last modified: 14 February 2019