ProvideLanguageServiceAttribute.QuickInfo Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines if the language service supports the IntelliSense Quick Info.
public:
property bool QuickInfo { bool get(); void set(bool value); };
public:
property bool QuickInfo { bool get(); void set(bool value); };
public bool QuickInfo { get; set; }
member this.QuickInfo : bool with get, set
Public Property QuickInfo As Boolean
Property Value
Returns true
if the IntelliSense Quick Info is supported; otherwise, returns false
.
Examples
[ProvideLanguageService(typeof(MyLanguageService), // Required
MyConstants.languageName, // Required
MyConstants.languageNameResourceID, // Required
// Optional language service properties
QuickInfo = true, // Quick Info is supported
)]
Remarks
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