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