Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tool tips in C# code files in Visual Studio 2022 17.11.0 are not working when DevSkim extension is installed and active #629

Open
uo1 opened this issue Aug 20, 2024 · 4 comments
Labels

Comments

@uo1
Copy link

uo1 commented Aug 20, 2024

Describe the bug
In a Visual Studio 2022 version 17.11.0 installation, when the DevSkim extension is installed and active, the tool tips in C# code files are not shown anymore.
When you hover the mouse cursor over a variable, class, property, method or any other code element, no tool tip is shown.
It does not matter, if the Visual Studio 2022 was updated from a previous version or if it was freshly installed.
It does not matter, if the DevSkim extension was installed before or after the update of Visual Studio 2022 to 17.11.0.
Disabling the DevSkim extension and restart Visual Studio 2022 is enough to make the tool tips work again.

To Reproduce
Steps to reproduce the behavior:

  1. Install or update Visual Studio 2022 to version 17.11.0
  2. Install DevSkim extension via the Extension Manager, if it was not installed before
  3. Open or create any C# project that doesn't have errors
  4. Open a .cs file with code in it
  5. Hover with the mouse cursor over a variable, class, property, method or any other code element
  6. No tool tip is shown, no matter how long the mouse cursor stays there

Expected behavior
The tool tip to the hovered code element should be shown with the typical information

Screenshots
I guess is doesn't make sense to add a screenshot if something is not to see

Versions

  • OS: Windows 10 22H2 and Windows 11 23H2
  • Visual Studio 2022 version 17.11.0
  • DevSkim version 1.0.33.40378
@uo1 uo1 added the bug label Aug 20, 2024
@gfs
Copy link
Contributor

gfs commented Aug 22, 2024

Thanks for the report. This sounds similar to the bug reported earlier about quick actions. I suspect it may be related to visual studio sdk changes as the extension itself hasn't changed recently.

@uo1
Copy link
Author

uo1 commented Aug 23, 2024

Maybe it is related with that quick actions bug.
But I didn't have any issues before VS 2022 version 17.11.0.
The issue still exists with VS 2022 version 17.11.1.

@gfs
Copy link
Contributor

gfs commented Aug 23, 2024

That's helpful context. Maybe there's something in the patch notes for 17.11.

@nodeomega
Copy link

Issue persists in Visual Studio Professional 17.11.3.

Disabling DevSkim's extension brings back my tooltips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants