How to write a VSIX extension in VB.NET that changes the tooltip of date variables?

Anonymous
2023-07-22T15:53:14.6566667+00:00

I am working on a VSIX extension (named ChangeToolTipDate) in VB.NET for Visual Studio 2022 that changes the tooltip of date variables when debugging. I want to do this as a learning exercise and to make debugging easier. For example, when I hover the mouse over a date variable in the code editor, instead of showing the value of the variable, it should show “Hello”.

How can I do this step by step? And does anyone have or can share the complete project code?

I tried to search for a way to access and modify the tooltip of a variable in Visual Studio, but I couldn’t find any relevant documentation or examples.

I expected to find a method or property that would allow me to change the tooltip content of a variable programmatically, or at least a way to customize the tooltip format for date variables.

Visual Studio Extensions
Visual Studio Extensions
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Extensions: A program or program module that adds functionality to or extends the effectiveness of a program.
192 questions
Visual Studio Debugging
Visual Studio Debugging
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Debugging: The act or process of detecting, locating, and correcting logical or syntactical errors in a program or malfunctions in hardware. In hardware contexts, the term troubleshoot is the term more frequently used, especially if the problem is major.
966 questions
{count} votes