You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
Nowadays a tooltip will display at the right side of selected item in the AutoCompletion list.
In VS 2017, we can create a class implementing IUIElementProvider<Completion, ICompletionSession> to override The RoslynToolTipProvider, like the below code shows.
[Export(typeof(IUIElementProvider<Completion,ICompletionSession>))][Name(nameof(CSharpCompletionTooltip))]//Roslyn is the default Tooltip Provider. We must override it if we wish to use custom tooltips[Order(Before="RoslynToolTipProvider")][ContentType("CSharp")]internalsealedclassCSharpCompletionTooltipProvider:IUIElementProvider<Completion,ICompletionSession>
In VS 2022, the logic is changed.
It seems that no extension point is provided to override the completion tooltip any more.
What can we do if we are to change the appearance and content of a completion tooltip?