# Autocompletion

## Summary

CodeMaker AI supports autocompletion, available in preview for both Visual Studio Code and JetBrains IDE.&#x20;

### Visual Studio Code

To enable the autocompletion in Visual Studio Code open Settings > Extensions > CodeMaker AI and toggle the Enable autocompletion checkbox. Now when you start typing in the code editor, the line should be automatically completed.<br>

<figure><img src="https://1266356985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy4Gm9KBnMQJROGH6Q242%2Fuploads%2FObe24wyC44vsdCmR5L5N%2Fvscode-autocompletion-settings.png?alt=media&#x26;token=b60e076c-6f2b-484b-aa68-fd7753bee8f0" alt=""><figcaption><p>Visual Studio Code Settings</p></figcaption></figure>

### JetBrains

To enable the autocompletion in JetBrains open Settings > Tools > CodeMaker AI and toggle the Enable autocompletion checkbox. Now when you start typing in the code editor, the line should be automatically completed.

<figure><img src="https://1266356985-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy4Gm9KBnMQJROGH6Q242%2Fuploads%2FlHgXdOM96fpzO2ESsxT6%2Fjetbrains-settings.png?alt=media&#x26;token=f9bed7fa-2869-41dd-b3ef-ed19e41359ab" alt=""><figcaption><p>JetBrains Settings</p></figcaption></figure>

### Multi-line completion

By default the completion only completes the current line, the exception of that rule is when starting a new code block like a function or method body or when starting a nested block using keywords like `if`, `while`, or `for` etc. This behavior can be changed so that each completion results in either a single line or multi-line by default by enabling it in settings using the `Enable multiline autocompletion` option.

### Programming languages

Autocompletion is supported for all CodeMaker AI-supported programming languages.
