Description
The project rules editor in Cursor AI has an issue where it refreshes automatically after making small edits in any of the text areas. This causes the editor to lose focus, making it difficult to continue editing rules without constantly having to reposition the cursor.
Steps to Reproduce
-
Open Cursor AI
-
Navigate to the project rules editor
-
Begin typing or editing text in any of the text areas
-
After making a small edit, the editor refreshes
-
The cursor (text insertion point) loses its position and the editor loses focus
Expected Behavior
The project rules editor should maintain focus and cursor position while editing, only refreshing when explicitly requested or when saving changes.
Actual Behavior
The editor refreshes automatically after small edits, causing the cursor to move out of focus and interrupting the editing workflow.
Environment
Version: 0.46.11 (Universal)
VSCode Version: 1.96.2
Commit: ae378be9dc2f5f1a6a1a220c6e25f9f03c8d4e10
Date: 2025-03-07T06:44:15.844Z (4 days ago)
Electron: 32.2.6
Chromium: 128.0.6613.186
Node.js: 20.18.1
V8: 12.8.374.38-electron.0
OS: Darwin arm64 24.3.0
Additional Information
This issue makes it very difficult to create or edit project rules efficiently, as the constant loss of focus requires repeatedly repositioning the cursor and regaining focus on the editor.
Impact
This bug significantly impacts productivity when trying to create or modify project rules, as it interrupts the editing flow and requires constant refocusing.
Possible Solution
The editor should only refresh when explicitly requested or when saving changes, not during active editing.