getcursor / cursor

The AI Code Editor
https://cursor.com
25.12k stars 1.56k forks source link

Investigate Error shortcut not adding prompt #1740

Open Peetee06 opened 2 months ago

Peetee06 commented 2 months ago

When using cmd+shift+e on a linter warning, the chat is opened but there is no prompt to fix the error. Screenshot 2024-08-28 at 16 23 16

In contrast, when hovering over the linter warning and pressing the "AI Fix in Chat" button, it works as expected, adding a prompt and the linter warning's text. Screenshot 2024-08-28 at 16 23 26

This is the linter warning and context window: Screenshot 2024-08-28 at 16 29 17

I'm on macOS Sonoma 14.6.1

Peetee06 commented 2 months ago

I just found out that it works fine for errors. That makes sense as it is called "Investigate Error".

Being able to use the keyboard shortcut for warnings as well, would be great, though.