ProvideLanguageServiceAttribute.QuickInfo Property


Determines if the language service supports the IntelliSense Quick Info.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

public bool QuickInfo { get; set; }

Property Value

Type: System.Boolean

Returns true if the IntelliSense Quick Info is supported; otherwise, returns false.

The IntelliSense Quick Info ToolTip is displayed whenever a user holds the cursor over an identifier or positions the caret in an identifier and selects Edit -> IntelliSense -> Quick Info. The Quick Info ToolTip displays information about the identifier, typically the identifier's type. While debugging, the Quick Info can also display the value currently contained in the identifier if the identifier is a variable. A language service indicates its support for this IntelliSense operation by setting the QuickInfo property to true.

This property is specific to the managed package framework (MPF).

The default is true when the corresponding registry entry is accessed through the LanguagePreferences class.

The registry entry looks like this:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\[X.Y]\Languages\Language Services\
  [Language Name]\
    QuickInfo = reg_dword: 0x00000001

[ProvideLanguageService(typeof(MyLanguageService),           // Required
                        MyConstants.languageName,            // Required
                        MyConstants.languageNameResourceID,  // Required
    // Optional language service properties
    QuickInfo = true,  // Quick Info is supported
Return to top