ProvideLanguageServiceAttribute::CodeSense Property
Visual Studio 2015
Determines if the language service supports IntelliSense operations.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Property Value
Type: System::BooleanReturns true if the language service supports IntelliSense operations; otherwise, returns false.
IntelliSense operations include Complete Word, List Members, Parameter Information, Quick Info and brace matching. If the language service supports any one or more of the IntelliSense operations, the CodeSense property must be set 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]\
CodeSense = reg_dword: 0x00000001
[ProvideLanguageService(typeof(MyLanguageService), // Required MyConstants.languageName, // Required MyConstants.languageNameResourceID, // Required // Optional language service properties CodeSense = true, // IntelliSense operations supported )]
Show: