John Landon
John Landon

Reputation: 2561

How to stop Visual Studio Community 2017 from automatically highlighting the closest character?

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:

enter image description here

This happens for all languages, not just C++. Does anyone know how I can disable this?

Upvotes: 2

Views: 7645

Answers (2)

Zack Woodard
Zack Woodard

Reputation: 1

For some the “Insert Key” will be “ins” for short and coupled with another key for example on my keyboard my 0 key is also my insert key and says “ins” under the 0

Upvotes: 0

user12055014
user12055014

Reputation: 41

Press the insert key on your keyboard.

Upvotes: 3

Related Questions