Share via


IBraceCompletionContext Interface

Definition

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

public interface class IBraceCompletionContext
public interface class IBraceCompletionContext
__interface IBraceCompletionContext
public interface IBraceCompletionContext
type IBraceCompletionContext = interface
Public Interface IBraceCompletionContext

Methods

AllowOverType(IBraceCompletionSession)

Called by the editor when the closing brace character has been typed.

Finish(IBraceCompletionSession)

Called after the session has been removed from the stack.

OnReturn(IBraceCompletionSession)

Called by the editor when return is pressed while both braces are on the same line and no typing has occurred in the session.

Start(IBraceCompletionSession)

Called before the session is added to the stack.

Applies to