在 vscode 中光标覆盖模式? ?

我似乎不能找到任何方法把光标进入’覆盖’模式-就像当你按下插入键和新键入的字符覆盖现有的字符内联。我没有在网上找到任何地方提到在 vscode 中遗漏或包含这样一个特性,但它似乎是一个相当常用的特性。这东西真的存在吗?

38407 次浏览

I too was missing the overtype mode in Visual Studio Code, so I went ahead and wrote an Overtype extension to add the behavior!

You can install it by opening the command palette and entering:

ext install overtype

Update: As of this writing, VS Code still does not have overtype built in, and the original extension seems to no longer be maintained. There is a more up-to-date fork here.

It seems to be working fine for me both ways I can switch it with "shift + i" on latest VS Code and macOS system.

For me, I think it's because of an extension called Vim (Vim emulation for Visual Studio Code). I was tired of this problem. Just going through all the extensions and settings, Finally I found this solution. By uninstalling this Vim extension I was free of this error.

1