Describe the Bug
Disabling “suggestions in comments” does not work for single line comments. It appears to be a race condition, where the suggestion starts before you type “//”, and then it appears after typing “//”.
Presumably however, even if a suggestion already exists, typing a comment should disable it (otherwise you have a suggestion in a comment, contradicting to what the setting says).
Steps to Reproduce
Type:
- Go to any Typescript codebase
- enter
- /
- /
I get a suggestion every single time.
Expected Behavior
It’s not supposed to show suggestions.
Operating System
Windows 10/11
Current Cursor Version (Menu → About Cursor → Copy)
Version: 0.48.9 (user setup)
VSCode Version: 1.96.2
Commit: 61e99179e4080fecf9d8b92c6e2e3e00fbfb53f0
Date: 2025-04-12T18:45:22.042Z
Electron: 34.3.4
Chromium: 132.0.6834.210
Node.js: 20.18.3
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.22621
Does this stop you from using Cursor
No - Cursor works, but with this issue