Partilhar via


Interface IBraceCompletionContext

Represents a simple context used to extend the default brace completion behaviors to include language-specific behaviors such as parsing and formatting.

Namespace:  Microsoft.VisualStudio.Text.BraceCompletion
Assembly:  Microsoft.VisualStudio.Text.UI (em Microsoft.VisualStudio.Text.UI.dll)

Sintaxe

'Declaração
Public Interface IBraceCompletionContext
public interface IBraceCompletionContext
public interface class IBraceCompletionContext
type IBraceCompletionContext =  interface end
public interface IBraceCompletionContext

O tipo IBraceCompletionContext expõe os membros a seguir.

Métodos

  Nome Descrição
Método público AllowOverType Called by the editor when the closing brace character has been typed. It does not occur if there is any non-whitespace character between the caret and the closing brace.
Método público Finish Occurs after the session has been removed from the stack.
Método público OnReturn Called by the editor when return is pressed while both braces are on the same line and no typing has occurred in the session.
Método público Start Called before the session is added to the stack.

Superior

Consulte também

Referência

Namespace Microsoft.VisualStudio.Text.BraceCompletion