Rev. 24.1.12, 12 June 2024

Chapter 6. Content Assist (Autocomplete)

Content assist provides you with a list of suggested completions for partially entered text. Proposals are context dependent and include accessible entities, architectures, configurations, variables, signals, constants,functions, procedures, etc. as well as templates for various constructs.

Press Ctrl+Space to trigger content assist.

Content assist is triggered automatically in some contexts, for example when you type in a <=, or := in the editor.

Proposals are presented in a list for you to chose 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 (variables, signals, functions, procedures etc. depending on the enclosing scope) 2) the second one is for code templates 3) the third one is for other things, like entities/components instances

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.