Code Completion
The editor offers two kinds of completion that work side by side:
- AI inline completion: you describe what you want and the model writes it at the cursor. Needs an API key.
- Autocomplete dropdown: fast, local suggestions for members, keywords, and reflected Unreal symbols as you type. No key needed.
AI inline completion
Section titled “AI inline completion”Trigger it with Ctrl + Space at the cursor.
-
Place the cursor where you want code, then press Ctrl + Space.
-
A small input pops up. Describe what you want (for example “loop over the actors and skip null entries”), and confirm.
-
The model’s completion is inserted at the cursor and shown highlighted.
-
Keep it by carrying on editing, or press Escape to discard it (the inserted text is removed).
Completion type
Section titled “Completion type”The completion type controls how much the model writes:
| Type | Writes | | --- | --- | | Current Line | Just the rest of the current line. | | Block | A multi-line block. This is the default. |
Cycle the type on the fly with Ctrl + Alt + T, or set the default with Default Completion Type in settings.
Context type
Section titled “Context type”The context type controls how much surrounding code is sent as context, which
trades quality against token cost. It is set separately for implementation
(.cpp) and declaration (.h) files:
| Context | What is sent | | --- | --- | | Current Function | The whole function around the cursor. | | Current Function Before Cursor | The function up to the cursor only. | | N Lines Above Cursor | A fixed number of lines above the cursor. |
Cycle the context on the fly with Ctrl + Alt + R. The defaults are Current Function Before Cursor for implementation files and N Lines Above Cursor for declaration files; the line count for the “N lines” mode and the overall context cap are both configurable in Settings.
Which model answers
Section titled “Which model answers”Inline completions use the Inline Completions Agent (Claude by default), which you can set independently from the chat assistant’s provider.
Autocomplete dropdown
Section titled “Autocomplete dropdown”Toggle the dropdown with Ctrl + Shift + Space. It surfaces suggestions from several local providers, no API key or network needed:
- Members of the type at the cursor (methods and properties).
- Keywords of C++.
- Reflected symbols discovered through Unreal’s reflection data.
Navigate the list with Up / Down and accept the highlighted entry with Enter. Keep typing to filter, or dismiss it by clicking away.
Inline completion vs. dropdown vs. chat
Section titled “Inline completion vs. dropdown vs. chat”| You want to… | Use | | --- | --- | | Write new code from a description | AI inline completion (Ctrl + Space) | | Recall a member or keyword while typing | Autocomplete dropdown (Ctrl + Shift + Space) | | Understand or plan a change | AI Assistant chat |