# Overview Source: https://docs.windsurf.com/autocomplete/overview **Windsurf Autocomplete** is powered by our own models, trained in-house from scratch to optimize for speed and accuracy. 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 * **Accept suggestion**: `⇥` * **Accept next word**: `⌥→` * **Accept current line**: `⌘→` * **Trigger suggestion**: `⌥\` * **Accept suggestion**: `Tab` * **Accept next word**: `Ctrl+Right Arrow` * **Accept current line**: `End` * **Trigger suggestion**: `Alt+\` 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. ## Autocomplete Speeds You can set the speed of the Autocomplete in your settings. Fast Autocomplete is currently only available to our Pro, Teams, and Enterprise Users. # Tips Source: https://docs.windsurf.com/autocomplete/tips ## Inline Comments You can instruct autocomplete with the use of comments in your code. Windsurf will read these comments and suggest the code to bring the comment to life. This method can get you good mileage, but if you're finding value in writing natural-language instructions and having the AI execute them, consider using [Windsurf Command](/command/overview). ## Fill In The Middle (FIM) Windsurf's Autocomplete can Fill In The Middle (FIM).