Using Code Completion

See Also

The IDE has a dynamic C and C++ code completion feature that enables you to type a few characters and then see a list of possible classes, methods, variables, and so on that can be used to complete the expression.

To complete a C or C++ expression:

  1. In the Editor window, type a few characters of an expression and press Ctrl-Spacebar or Ctrl-\ to open the code completion box.

    The code completion box displays a scrolling list of possible classes, methods, variables, functions, and so on that can complete your expression.

    If the IDE can determine only one possible completion for the expression, the expression is completed automatically. If the IDE cannot determine how to complete the expression, the code completion box displays "No suggestions."

  2. Use the most convenient combination of the following options to select an item from the code completion box:

Notes:

See Also
Setting the C or C++ Code Completion Dialog Box Delay
Disabling Automatic Code Completion
Using Code Templates

Legal Notices