ServerCapabilities.DocumentFormattingProvider Property

Definition

Gets or sets a value indicating whether document formatting is supported.

public:
 property bool DocumentFormattingProvider { bool get(); void set(bool value); };
public:
 property Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DocumentFormattingOptions ^>> DocumentFormattingProvider { Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DocumentFormattingOptions ^>> get(); void set(Nullable<Microsoft::VisualStudio::LanguageServer::Protocol::SumType<bool, Microsoft::VisualStudio::LanguageServer::Protocol::DocumentFormattingOptions ^>> value); };
[System.Runtime.Serialization.DataMember(Name="documentFormattingProvider")]
public bool DocumentFormattingProvider { get; set; }
[System.Runtime.Serialization.DataMember(Name="documentFormattingProvider")]
[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
public Microsoft.VisualStudio.LanguageServer.Protocol.SumType<bool,Microsoft.VisualStudio.LanguageServer.Protocol.DocumentFormattingOptions>? DocumentFormattingProvider { get; set; }
[<System.Runtime.Serialization.DataMember(Name="documentFormattingProvider")>]
member this.DocumentFormattingProvider : bool with get, set
[<System.Runtime.Serialization.DataMember(Name="documentFormattingProvider")>]
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
member this.DocumentFormattingProvider : Nullable<Microsoft.VisualStudio.LanguageServer.Protocol.SumType<bool, Microsoft.VisualStudio.LanguageServer.Protocol.DocumentFormattingOptions>> with get, set
Public Property DocumentFormattingProvider As Boolean
Public Property DocumentFormattingProvider As Nullable(Of SumType(Of Boolean, DocumentFormattingOptions))

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to