2 instantiations of FormattingOptions
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Protocol\Converters\FormattingOptionsConverter.cs (2)
21
var result = new
FormattingOptions
();
56
return new
FormattingOptions
16 references to FormattingOptions
Microsoft.CodeAnalysis.LanguageServer.Protocol (16)
Extensions\ProtocolConversions.cs (1)
835
LSP.
FormattingOptions
? options,
Handler\Formatting\AbstractFormatDocumentHandlerBase.cs (1)
25
LSP.
FormattingOptions
options,
Handler\InlineCompletions\InlineCompletionsHandler.cs (1)
118
internal static async Task<VSInternalInlineCompletionItem?> GetInlineCompletionItemsAsync(ILspLogger logger, Document document, LinePosition linePosition, LSP.
FormattingOptions
options, XmlSnippetParser xmlSnippetParser, CancellationToken cancellationToken)
Handler\OnAutoInsert\OnAutoInsertHandler.cs (1)
69
LSP.
FormattingOptions
lspFormattingOptions,
Protocol\Converters\FormattingOptionsConverter.cs (4)
17
internal class FormattingOptionsConverter : JsonConverter<
FormattingOptions
>
19
public override
FormattingOptions
? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
21
var
result = new FormattingOptions();
115
public override void Write(Utf8JsonWriter writer,
FormattingOptions
value, JsonSerializerOptions options)
Protocol\DocumentFormattingParams.cs (1)
34
public
FormattingOptions
Options
Protocol\DocumentOnTypeFormattingParams.cs (2)
47
/// Gets or sets the <see cref="
FormattingOptions
"/> for the request.
51
public
FormattingOptions
Options { get; set; }
Protocol\DocumentRangeFormattingParams.cs (1)
44
public
FormattingOptions
Options
Protocol\Internal\VSInternalDocumentOnAutoInsertParams.cs (2)
45
/// Gets or sets the <see cref="
FormattingOptions
"/> for the request.
48
public
FormattingOptions
Options
Protocol\Internal\VSInternalInlineCompletionRequest.cs (2)
38
/// Gets or sets the <see cref="
FormattingOptions
"/> for the request.
41
public
FormattingOptions
Options { get; set; }