Skip to content

Commit f2fae6e

Browse files
committed
Address PR feedback
1 parent 03593cc commit f2fae6e

File tree

1 file changed

+1
-6
lines changed
  • src/PowerShellEditorServices.Protocol/LanguageServer

1 file changed

+1
-6
lines changed

src/PowerShellEditorServices.Protocol/LanguageServer/Completion.cs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,6 @@ public class TextEdit
7575
[DebuggerDisplay("Kind = {Kind.ToString()}, Label = {Label}, Detail = {Detail}")]
7676
public class CompletionItem
7777
{
78-
public CompletionItem()
79-
{
80-
this.InsertTextFormat = InsertTextFormat.PlainText;
81-
}
82-
8378
public string Label { get; set; }
8479

8580
public CompletionItemKind? Kind { get; set; }
@@ -97,7 +92,7 @@ public CompletionItem()
9792

9893
public string InsertText { get; set; }
9994

100-
public InsertTextFormat InsertTextFormat { get; set; }
95+
public InsertTextFormat InsertTextFormat { get; set; } = InsertTextFormat.PlainText;
10196

10297
public Range Range { get; set; }
10398

0 commit comments

Comments
 (0)