> ## Documentation Index
> Fetch the complete documentation index at: https://docs.windsurf.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Autocomplete Overview

> AI-powered code autocomplete with single-line and multi-line suggestions, keyboard shortcuts, and customizable speed settings.

**Windsurf Autocomplete** is powered by our own models, trained in-house from scratch to optimize for speed and accuracy.

<Frame>
  <img src="https://exafunction.github.io/public/autocomplete/autocomplete-speed-fast.gif" />
</Frame>

Our autocomplete makes in-line and multi-line suggestions based on the context of your code.

Suggestions appear in grey text as you type. You can press `esc` to cancel a suggestion.
Suggestions will also disappear if you continue typing or navigating without accepting them.

## Keyboard Shortcuts

### General Shortcuts

Here are the general shortcuts that apply for macOS.
Replace `⌘` with `Ctrl` and `⌥` with `Alt` to get the corresponding shortcuts on Windows/Linux.

* **Accept suggestion**: `⇥`
* **Cancel suggestion**: `esc`
* **Accept suggestion word-by-word**: `⌘+→` (VS Code), `⌥+⇧+\` (JetBrains)
* **Next/previous suggestion**: `⌥+]`/`⌥+[`
* **Trigger suggestion**: `⌥+\`

### JetBrains Shortcuts - 2.2.2 (stable) and 2.3.5 (pre-release) and later

<Tabs>
  <Tab title="macOS">
    * **Accept suggestion**: `⇥`
    * **Accept next word**: `⌥→`
    * **Accept current line**: `⌘→`
    * **Trigger suggestion**: `⌥\`
  </Tab>

  <Tab title="Windows/Linux">
    * **Accept suggestion**: `Tab`
    * **Accept next word**: `Ctrl+Right Arrow`
    * **Accept current line**: `End`
    * **Trigger suggestion**: `Alt+\`
  </Tab>
</Tabs>

<Note>
  You can customize these keyboard shortcuts by

  * Hover over any completion text and select "Custom" from the dropdown.
  * Navigate to Settings > Keymap > Main Menu > Code > Code Completion.
</Note>

## Autocomplete Speeds

You can set the speed of the Autocomplete in your settings.

<Note>Fast Autocomplete is currently only available to our Pro, Teams, and Enterprise Users.</Note>

<Frame>
  <img src="https://exafunction.github.io/public/autocomplete/autocomplete-speeds-select.png" />
</Frame>
