1 write to Character
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Formatting\FormatDocumentOnTypeTests.cs (1)
128
Character
= characterTyped,
6 references to Character
Microsoft.CodeAnalysis.LanguageServer.Protocol (4)
Handler\Formatting\FormatDocumentOnTypeHandler.cs (3)
46
if (string.IsNullOrEmpty(request.
Character
))
56
if (!formattingService.ShouldFormatOnTypedCharacter(documentSyntax, request.
Character
[0], position, cancellationToken))
74
if (SyntaxFacts.IsNewLine(request.
Character
[0]))
Protocol\DocumentOnTypeFormattingParams.cs (1)
28
/// by the <see cref="
Character
"/> property got typed.
Microsoft.VisualStudio.LanguageServices.Xaml (2)
Implementation\LanguageServer\Handler\Formatting\FormatDocumentOnTypeHandler.cs (2)
36
if (string.IsNullOrEmpty(request.
Character
))
48
var textChanges = await formattingService.GetFormattingChangesAsync(document, options, request.
Character
[0], position, cancellationToken).ConfigureAwait(false);