共用方式為


ServerCapabilities.CodeActionProvider Property

Definition

Gets or sets a value indicating whether code actions are supported.

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

Property Value

Attributes
DataMemberAttribute Newtonsoft.Json.JsonPropertyAttribute

Applies to