Edit Condition

Use this command to edit the value of a selected parsing condition variable. This is used for languages that support conditional compilation, such as C, C++, and Window Resource files. Conditional code is placed between #-directives such as #ifdef.

Source Insight can parse those sections of code conditionally depending on the value of condition variables that you specify. The Edit Condition command lets you edit the value of a condition variable, or edit the list of condition variables.

To use this command, right-click on an identifier that is a condition variable in your code. Then select Edit Condition. You will be able to specify that variable’s value.

For example, place the cursor inside of MACOBJECTS and select Edit Condition.

int jklm;

In this section: