IBraceCompletionContext 인터페이스
Represents a simple context used to extend the default brace completion behaviors to include language-specific behaviors such as parsing and formatting.
네임스페이스: Microsoft.VisualStudio.Text.BraceCompletion
어셈블리: Microsoft.VisualStudio.Text.UI(Microsoft.VisualStudio.Text.UI.dll)
구문
‘선언
Public Interface IBraceCompletionContext
public interface IBraceCompletionContext
public interface class IBraceCompletionContext
type IBraceCompletionContext = interface end
public interface IBraceCompletionContext
IBraceCompletionContext 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
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. | |
Finish | Occurs after the session has been removed from the stack. | |
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. | |
Start | Called before the session is added to the stack. |
위쪽