We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03593cc commit f2fae6eCopy full SHA for f2fae6e
src/PowerShellEditorServices.Protocol/LanguageServer/Completion.cs
@@ -75,11 +75,6 @@ public class TextEdit
75
[DebuggerDisplay("Kind = {Kind.ToString()}, Label = {Label}, Detail = {Detail}")]
76
public class CompletionItem
77
{
78
- public CompletionItem()
79
- {
80
- this.InsertTextFormat = InsertTextFormat.PlainText;
81
- }
82
-
83
public string Label { get; set; }
84
85
public CompletionItemKind? Kind { get; set; }
@@ -97,7 +92,7 @@ public CompletionItem()
97
92
98
93
public string InsertText { get; set; }
99
94
100
- public InsertTextFormat InsertTextFormat { get; set; }
95
+ public InsertTextFormat InsertTextFormat { get; set; } = InsertTextFormat.PlainText;
101
96
102
public Range Range { get; set; }
103
0 commit comments