Udostępnij za pośrednictwem


ViewFilter.HandleQuickInfo Method

Definition

This method is called to handle the VsCommands2K.QUICKINFO command.

public:
 virtual void HandleQuickInfo();
public:
 virtual void HandleQuickInfo();
 virtual void HandleQuickInfo();
public virtual void HandleQuickInfo ();
abstract member HandleQuickInfo : unit -> unit
override this.HandleQuickInfo : unit -> unit
Public Overridable Sub HandleQuickInfo ()

Remarks

This method is responsible for showing the tool tip holding any tool tip information about the identifier at the current location.

The base method calls the GetCaretPos method on the IVsTextView object passed to the ViewFilter constructor to obtain the current caret position. This position is then passed to the <xref:Microsoft.VisualStudio.Package.Source.OnSyncQuickInfo%2A> method on the Source object (obtained from the CodeWindowManager object in the ViewFilter constructor). If <xref:Microsoft.VisualStudio.Package.Source.OnSyncQuickInfo%2A> returns any text, this method next calls the GetFullDataTipText method to get any additional information from the debugger if debugging is active. Finally, a new (or current) TextTipData object is used to display the tool tip.

In the default managed package framework's implementation of the language service classes, this method is called from the HandlePreExec method.

Applies to