IBraceCompletionContextProvider 인터페이스
An extension point used to create an IBraceCompletionContext to provide language-specific handling on top of the default TIBraceCompletionSession objects.
네임스페이스: Microsoft.VisualStudio.Text.BraceCompletion
어셈블리: Microsoft.VisualStudio.Text.UI(Microsoft.VisualStudio.Text.UI.dll)
구문
‘선언
Public Interface IBraceCompletionContextProvider
public interface IBraceCompletionContextProvider
public interface class IBraceCompletionContextProvider
type IBraceCompletionContextProvider = interface end
public interface IBraceCompletionContextProvider
IBraceCompletionContextProvider 형식에서는 다음과 같은 멤버를 노출합니다.
메서드
이름 | 설명 | |
---|---|---|
TryCreateContext | Creates an IBraceCompletionContext to handle language specific actions such as parsing and formatting. |
위쪽
설명
This class extends the default brace completion behavior provided by. IBraceCompletionDefaultProvider. It allows for additional formatting after the closing brace has been inserted as well as custom handling of overtype scenarios and new line insertions.
For a fully customizeable IBraceCompletionSession, use IBraceCompletionSessionProvider.
예제
This is a MEF component part, and should be exported with the following attribute:
[Export(typeof(IBraceCompletionContextProvider))]