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.

../../_images/vhdldt-content-assist-example-1.png
../../_images/vhdldt-content-assist-example-2.png
../../_images/vhdldt-content-assist-example-3.png

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.