GDev
GDev

Reputation: 111

Visual Studio 2022 feature for showing tooltips on mouse over

What option or feature must I enable in Visual Studio 2022 to get tooltips to show when hovering the mouse over a method, object, or error (i.e. red squiggly)? See screenshot comparing VS 2019 and 2022. I've searched for variations on VS 2022 and intellisense, intellicode, and it's not clear what changed with VS 2022.

Screenshot of VS 2019 vs. 2022 tooltip compare on mouse-over

Upvotes: 7

Views: 7714

Answers (5)

dawidg
dawidg

Reputation: 2439

Updating the Live Share extension seems to have fix my tooltips.

Upvotes: 1

Benni
Benni

Reputation: 280

In my case Quickinfo stopped working after disabling Copilot.

After deinstallation of "LiveShare" using the Visual Studio Installer (remove single component) it works again.

Update

Quickinfo works only for some time. Then I have to restart VS 2022 to bring it back.

Upvotes: 1

Rev
Rev

Reputation: 6122

As I already pointed out in the comments, the "Quick Info" popup hasn't been working for me since first VS2022 release. It wasn't showing on mouse hover, or using CTRL-K-I or selecting Edit->Intellisense->QuickInfo.

When I started disabling some VS extensions I noticed, that the extension "Porting Assistant for .NET 2022" was almost constantly doing some background processing as indicated by the icon in the lower left corner of VS. After I disabled it and restarted VS, the issue was fixed.

Maybe the problem is not related to this specific extension, but to some extensions performing background tasks which may interfere with the quick info.

Upvotes: 4

Wayasel Ahmmed
Wayasel Ahmmed

Reputation: 1

Press in your terminal ctrl + f search settings.json and writing:

"terminal.integrated.enableMultiLinePasteWarning": false

Upvotes: -5

GDev
GDev

Reputation: 111

The answer: this feature is "Quick Info". It can be accessed by mousing over, the menu option Edit > Intellisense > Quick Info, or the key combo Ctrl-K, Ctrl-I.

HOWEVER - I'm running VS 2019 and 2022 in virtual machine on an M1 Mac using parallels. I suspect that there is an issue with parallels which is preventing 2022 from showing Quick Info - even though VS 2019 Quick Info works fine.

What's odd is that some mouse hovers do work in VS 2022 on the VM. E.g. "references" links that VS injects in the UI to show where the method is referenced, or what user last checked in the code. I'll pursue this over on the parallels forums.

Upvotes: 3

Related Questions