Cursor IDE AI-powered Autocomplete Feature

While you are writing your code, Cursor predicts your next edit. Just place the cursor in the spot where you want to write code, and Cursor will show you suggestions. If you want to apply them, just press Tab. To reject suggestion, press Esc.

By default, this feature is enabled. You can disable it by navigating to Cursor Settings→Features and unchecking the checkbox “A powerful Copilot replacement that can suggest changes across multiple lines. Previously called Copilot++”.

Additionally, you can enable/disable it by hovering over the “Cursor Tab” icon on the status bar at the bottom right corner:

If you need to enable/disable autocompletion for specific programming language files, open a file in that language and choose “Disable for {language}”:

If you don’t want to accept the entire suggested code, you can partially accept word by word, press Ctrl/Command + →.

To use this feature, you need to enable it in Cursor Settings:

Cursor also suggests helpful multi-line edits, making complex multi-line modifications easier.

Cursor autocompletion isn’t just for code – it can also help you write better comments.

To enable comment suggestions, go to Cursor Settings → Features:

You may not like to use Tab key for autocompletion so you can easily setup different shortcut. Go to Cursor Settings → General → Configure keyboard shortcuts, search for Accept Cursor Tab Suggestions and set keyboard shortcut to your taste.