The currently edited line is being covered by suggestion when word wrap is used

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

I use word wrap when editing code. As I write on a wrapped line, Cursor AI will often suggest a completion in a tooltip. This tooltip inadvertently covers the line I’m currently editing, resulting in a jarring experience (can’t see what I’m typing).

Steps to Reproduce

  1. Turn on word wrap.
  2. Type until the line is wrapped.
  3. Continue typing until an AI suggestion tooltip pops up.
  4. The tooltip should cover the currently edited line, resulting in a poor DX.

Expected Behavior

Take word wrap into account when positioning the tooltip.

Screenshots / Screen Recordings

Operating System

MacOS

Current Cursor Version (Menu → About Cursor → Copy)

Version: 0.43.6
VSCode Version: 1.93.1
Commit: a846435528b4b760494a836f96f0739889253530
Date: 2024-12-06T05:11:55.168Z
Electron: 30.5.1
Chromium: 124.0.6367.243
Node.js: 20.16.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.4.0

Additional Information

N/A

Does this stop you from using Cursor

Sometimes - I can sometimes use Cursor