Content Assist (Autocomplete)

Content assist (autocomplete) can be triggered explicitly if you press Ctrl+Space in any code context.

Some of the contexts when content assist is triggered automatically as you type are:

  • when you type a dot (.) for accessing a struct member as in input_video.content

../../_images/pss_concepts_autocomplete_1.png
  • when you type a compare (==) in an expression as in constraint resolution ==…)

../../_images/pss_concepts_autocomplete_2.png

Proposals are presented in a list for you to choose from. Moving through proposals you can quickly see the related documentation.

Press Enter or Click to select a proposal or Esc to cancel the assist.

Sometimes autocomplete has many proposals that are split in several categories:

  1. the first one is for things you can access in a scope

  2. the second one is for code templates

If you press Ctrl+Space the first time, you’ll see a small indication in the proposals pop-up window at the bottom, something like Press Ctrl+Space again to see template proposals.

Pressing Ctrl+Space cycles through the categories above.