Tab key adds whitespace instead of accepting suggestion

Hi, thanks for reporting an issue with Cursor.

Before you report this, we’d appreciate if you can search this forum to see if this issue has already been reported.

If you have done so, please check this box.
on

Describe the Bug

When I see a suggestion available and click tab, it tabs my code 2 spaces instead of accepting the suggestion. I think it’s assuming an indentation level of 4 when im using 2

Steps to Reproduce

Not sure

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.5
VSCode Version: 1.93.1
Commit: 2eaa79a1b14ccff5d1c78a2c358a08be16a8e5a0
Date: 2024-11-27T09:11:51.854Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin arm64 24.0.0

Additional Information

Using prettier, tabs using spaces, 2 tab spaces

Does this stop you from using Cursor

Yes - Cursor is unusable

Hey, does this behavior occur in all project files? Also, try downloading version 0.43.6 from the main page of our website.

yea, all files. still happens after upgrading. Here’s a video: Dropover Cloud Upload

Yea, it keeps happening (even on the latest version), i recorded a video but have no way to post it (if i paste a download link it seems to be blocked)

Ahhhh got to the bottom of it. Conflicts with prettier

1 Like