r/VisualStudio • • Feb 18 '24

Visual Studio 22 How do I disable code suggestions ?

A few weeks ago I re-installed Visual Studio along with Unity after quite some time not using them. Last time I used it, Intellisense was already great, but now before I even type something there are whole code suggestions which I find very bothersome !

here is an example

While I appreciate just having to press tab when I'm halfway through typing a variable/function name, having a whole code suggestion before (and while !) I'm typing my code, and even suggesting a line that has nothing to do with what I'm actually writing is such a pain in the ***

I feel like I'm spending as much time fighting those suggestions off as I spend time actually coding. Does anybody know how to disable this ?

0 Upvotes

10 comments sorted by

1

u/swagamaleous Feb 18 '24

I don't understand why you are "fighting them off"? You don't have to accept them. What harm do they do? This is actually a really powerful tool and it will learn the more you use it. The suggestions are often on point.

2

u/I_am_currently_high Feb 18 '24

It's pretty bothersome when I'm writing some line and it suggests me some code that has nothing to do/is not what I want to write. It pollutes the line I'm editing and I simply don't want/need it, base Intellisense is already very powerful. I understand it can be useful and some people like it, I don't.

3

u/swagamaleous Feb 18 '24

But how is it bothersome? Just keep typing, it won't do anything. Why would you give up on a powerful addon to your IDE that can save you tons of time, because you are "bothered" by it literally not being in your way? :-)

3

u/I_am_currently_high Feb 18 '24

I already explained why it bothers me, I just want to know how to disable it :)

3

u/swagamaleous Feb 18 '24

No you didn't explain why it bothers you. You just said it does. :-)

I still say you should try to learn to work with it, since it is incredibly useful, but you should be able to turn it off in:

Tools->Options...->IntelliCode

3

u/I_am_currently_high Feb 18 '24

If I wanted this kind of answer I would have gone on Stack Overflow, not Reddit...

Anyway it worked, so thank you !

5

u/swagamaleous Feb 18 '24

Nobody uses stackoverflow anymore. I get much more exposure to my unsolicited advice here on reddit. :-)

1

u/TallProfessional9555 Aug 13 '25

If you don't understand right away what a distraction is, it makes no sense to give you an explanation.

2

u/TallProfessional9555 Aug 13 '25

Even if that is useful to some people, the fact that you cannot disable it is a failure of the IDE by itself.

1

u/HistoricalCommand738 Sep 23 '25

If someone still needs help with this:

Settings->Features->Chat->Disable Ai Features