IBraceCompletionContextProvider Interface
Visual Studio 2015
An extension point used to create an IBraceCompletionContext to provide language-specific handling on top of the default TIBraceCompletionSession objects.
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
| Name | Description | |
|---|---|---|
![]() | TryCreateContext(ITextView^, SnapshotPoint, Char, Char, IBraceCompletionContext^) | 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))]
Show:
