共用方式為


IBraceCompletionContextProvider Interface

Definition

Represents an extension point used to create an IBraceCompletionContext to provide language-specific handling on top of default IBraceCompletionSessions.

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

Remarks

IBraceCompletionContextProvider extends the default brace completion behaviors provided by IBraceCompletionDefaultProvider. It allows for additional formatting after the closing brace has been inserted as well as custom handling of overtype scenarios and newline insertions.

Methods

TryCreateContext(ITextView, SnapshotPoint, Char, Char, IBraceCompletionContext)

Creates an IBraceCompletionContext to handle language-specific actions such as parsing and formatting.

Applies to