'Visual Studio automatically deletes the next word while I type
This happens every time if I try to enter a class name in front of existing class, it automatically deletes the class name in front
This happens if I add an argument in front of existing arguments in a function, VS just assumes that I'm trying to replace the existing class name, but all I am trying to do is separate the two by a comma.
How can I disable visual studio automatically deleting text in front of cursor
Solution 1:[1]
According to your description, could you please tell me which version of Visual Studio you are using? Some extensions installed in your Visual Studio may cause the situation, such as ReSharper.
I suggest you temporarily disable the extensions under Extensions > Manage Extensions > Installed in Visual Studio 2019.
Or, try to use the command: devenv /safemode to run vs without any extensions, check if the installed extensions affect or not.
Solution 2:[2]
This worked for my case, just pressed the insert key in my keyboard and it disappeared.
Not really a Small Basic question, but it sounds like you have the 'insert' key selected. Check your keyboard for the insert key and toggle this just like caps lock.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | Yujian Yao - MSFT |
| Solution 2 | crakama |
