Editor window frequently loses focus mid-typing

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

As I’m working in a file, ie typing, if I pause for just a few seconds, focus jumps away from the editor and I have to click back with my mouse to start typing again. This is extremely disruptive to writing code. I had Auto-save on and changed the action to onFocusChanged. But it was still losing focus mid-typing. So now I’ve turned Auto-save off. But I never had this focus issue in VS Code with auto-save.

Steps to Reproduce

As I’m typing in the editor, randomly the focus just goes away. My best guess is that auto-save happens and the focus is captured somewhere else.

Expected Behavior

While I’m typing in the editor, my focus stays there until I switch focus by clicking somewhere else.

Operating System

Windows 10/11

Current Cursor Version (Menu → About Cursor → Copy)

Version: 1.6.23 (user setup)
VSCode Version: 1.99.3
Commit: 9b5f3f4f2368631e3455d37672ca61b6dce85430
Date: 2025-09-15T21:49:07.231Z
Electron: 34.5.8
Chromium: 132.0.6834.210
Node.js: 20.19.1
V8: 13.2.152.41-electron.0
OS: Windows_NT x64 10.0.26100

Does this stop you from using Cursor

No - Cursor works, but with this issue

The problem is definitely persisting even with Auto-save turned off. I am noticing a brief time where another random file is showing up in the file list with some arbitrary characters at the end of the file.

I captured a screenshot of what pops up when I lose focus. I’m working in the ExportEditor.vue file, auto-save is turned off, and this 175805…ExportEditor.vue file pops up and thats when I lose focus in the editor window.

Hey, this is most likely related to some Vue extension.

Hmmm.. good idea, let me disable some of those and see if it makes a difference. Thanks for the suggestion.

That was it.. it wasn’t a Vue extension though, it was the Codacy extension I had installed. Thanks.