Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS Intellisense: removing some autocomplete words

I like that the intellisense in VS corrects me when I make mistakes, but sometimes I don't make any mistakes and it corrects me still. I'm coding for Unity and I cannot write "var" without it being changed to "SerializePrivateVariables" as soon as I press space.

Is there a way to remove some of the autocomplete triggers in the intellisense? I couldn't find how to do so.

like image 997
Feast Avatar asked Nov 26 '25 01:11

Feast


1 Answers

You cannot disable specific words from autocompletion in C# in Visual Studio 2015 as far as I know.

In your case, however, you can enable keywords in completion lists. Then the intellisense should understand that var is a proper C# and not replace it.

You can do this by going to TOOLS > Options > Text Editor > C# > Intellisense and checking the "Place keywords in completion lists" option.

There is a bit more options in VS2017 and VS2013 (and older), but none of them have the exact feature you have in mind.

like image 143
Zdeněk Jelínek Avatar answered Nov 28 '25 14:11

Zdeněk Jelínek



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!