Strange Cursor Behavior in VS Code: Skipping Positions & Hovering Over Characters

Hi everyone,

I’m facing a strange issue in VS Code while working on a project. When I place my cursor between quotes like this:

Console.WriteLine("▮");

…it doesn’t stay in the middle. Instead, it jumps or hovers over characters like the closing " or ) for example:

Console.WriteLine("▮);

Even worse, when I try to type something like hello, it overwrites the existing text instead of inserting it, like this:

Console.WriteLine("hello

This really slows me down and causes unexpected errors while debugging. The issue started suddenly when I was working on an if statement, it was working fine before that.

Has anyone experienced this? Any idea what could be causing it or how to fix it? I’d really appreciate any guidance! :folded_hands:

Did you try toggling the insert button on your keyboard?

1 Like

Thanks a lot! I just realized my keyboard doesn’t even have an Insert key :sweat_smile:, but your suggestion worked perfectly. I used the on-screen keyboard to press Insert, and it fixed the issue. Really appreciate your help!