Bug Description
When creating a new Cursor rule (.mdc
file) with auto-save set to "afterDelay"
, the cursor resets to the “Description” field every time the file auto-saves. This disrupts the typing flow and makes it difficult to work efficiently.
Steps to Reproduce
- Set auto-save mode to
"afterDelay"
in VSCode settings. - Create a new
.mdc
file for a Cursor rule. - Type in the file and stop for a moment to trigger auto-save.
- Notice that the cursor jumps back to the “Description” field every time the file saves.
Screenshots/Videos
Environment
- Operating System: macOS Sonoma 14.5
- Cursor Version:
- Version: 0.46.11
- VSCode Version: 1.96.2
- Commit: ae378be9dc2f5f1a6a1a220c6e25f9f03c8d4e10
- Date: 2025-03-07T06:43:50.208Z
- Electron: 32.2.6
- Chromium: 128.0.6613.186
- Node.js: 20.18.1
- V8: 12.8.374.38-electron.0
- OS: Darwin arm64 23.5.0
Impact on Usage
This issue is quite disruptive, as it prevents smooth typing in .mdc
files. Every auto-save interrupts the workflow, making it frustrating to edit rules effectively.