When clicking anywhere inside my code, Visual Studio will automatically highlight the closest character. For example, let's say I have the following code:
int add()
{
}
If I were to click in between the parenthesis's to insert an argument, Visual Studio would automatically select the )
character. Meaning, if I added the argument num1
, my code would become:
int add(num1
{
}
No matter how many times I click, Visual Studio will always highlight the nearest character, which is very annoying when editing existing code, as I will be required to re-enter every character I overwrite.
To be perfectly clear about what I am trying to explain, here is a screenshot of Visual Studio working its magic:
This happens for all languages, not just C++. Does anyone know how I can disable this?