共用方式為


CompletionListItemDefaults.EditRange Property

Definition

Gets or sets the default edit range.

[Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)]
[System.Runtime.Serialization.DataMember(Name="editRange")]
public Microsoft.VisualStudio.LanguageServer.Protocol.Range? EditRange { get; set; }
[<Newtonsoft.Json.JsonProperty(NullValueHandling=Newtonsoft.Json.NullValueHandling.Ignore)>]
[<System.Runtime.Serialization.DataMember(Name="editRange")>]
member this.EditRange : Microsoft.VisualStudio.LanguageServer.Protocol.Range with get, set
Public Property EditRange As Range

Property Value

Attributes
Newtonsoft.Json.JsonPropertyAttribute DataMemberAttribute

Remarks

Note that the VS LSP client does not support InsertReplaceEdit (see https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#insertReplaceEdit) and so the only valid value here is an actual Range.

Applies to