ProvideLanguageServiceAttribute.ShowCompletion Property

 

Determines if the Statement completion options are enabled in the Options dialog box.

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

public bool ShowCompletion { get; set; }

Property Value

Type: System.Boolean

Returns true if the Statement completion options are enabled; otherwise, returns false.

If a language service supports the IntelliSense operations Completion Word, Parameter Info and List Members, it should set the ShowCompletion property to true to enable the Statement completion options in the Options dialog box. These options include Auto list members, Hide advanced members, and Parameter information.

This property is available for any language service implementation.

The default is false, indicating the Statement completion options are disabled.

The registry entry looks like this:

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

[ProvideLanguageService(typeof(MyLanguageService),           // Required
                        MyConstants.languageName,            // Required
                        MyConstants.languageNameResourceID,  // Required
    // Optional language service properties
    ShowCompletion = true,  // Statement completion is supported
                       )]
Return to top
Show: