VS Code Version 1.98.2 Delete Key

The delete key no longer works in VS Code (Version 1.98.2). I found one post saying that the issue was fixed by reinstalling V. 1.88.n. I’m certain that I was running a newer version than that and the delete key worked.

Does anyone know of a fix for this issue?

1 Like

I’m guessing this is a MacOS specific issue? There is no such bug on Windows or Linux.

2 Likes

Do you mean the backspace key? I don’t have a specific “delete” key on my MacBook, but I’m assuming that’s what you mean…

I just tested it and it works just fine on my Mac. I’m using version 1.95.0.

Do let me know if you’re referring to something different than what I described.

1 Like

No, this is not a Mac issue. I run VS Code on Windows 11. I meant to put that fact in my post above but failed to.

I’ve tried to access Microsoft Support for an answer but cannot find a way to ask about the VS Code product there.

1 Like
2 Likes

After further searching, I found that there were dozens of extensions installed in the same file path as VS Code. I used Windows File Explorer to delete all of them, even though VS Code showed none installed in its Explorer window.

That did the trick. On reloading VS Code, the delete key was again functional. I have no idea which, if any, of those deleted extensions caused the problem. I can only state that the problem left with the extensions.

I rely on only 2 extensions, Live Server and Prettier. I reinstalled them and there is no delete key issue.

I posted this solution at GitHub.

2 Likes

Congratulations on tracking it down. That sort of thing can be the most frustrating part of writing code.

1 Like

I couldn’t agree more. It’s the sort of distraction that takes focus away from the problem one is coding to solve.

1 Like