LanguagePreferences::EnableMatchBracesAtCaret Property

 

Gets or sets whether or not matching braces can be shown while typing a matching brace.

Namespace:   Microsoft.VisualStudio.Package
Assembly:  Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)

public:
[DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility::Hidden)]
property bool EnableMatchBracesAtCaret {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if matching braces can be shown, otherwise false.

This property is associated with the registry entry MatchBracesAtCaret.

In the base method, even though this property can be set, the value is not written back to the registry.

System_CAPS_noteNote

The EnableMatchBraces property must also return true to enable matching braces as they are typed.

Return to top
Show: