Skip to content

Commit a52a184

Browse files
Kapil Borledaviwil
authored andcommitted
Return a vscode snippet instead of string
1 parent 57164b3 commit a52a184

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1097,6 +1097,7 @@ protected async Task HandleCommentHelpRequest(
10971097
ruleSettings.Add("ExportedOnly", false);
10981098
ruleSettings.Add("Enable", true);
10991099
ruleSettings.Add("BlockComment", requestParams.BlockComment);
1100+
ruleSettings.Add("VSCodeSnippetCorrection", true);
11001101
settings.Add("PSProvideCommentHelp", ruleSettings);
11011102
var pssaSettings = EditorSession.AnalysisService.GetPSSASettingsHashtable(settings);
11021103

0 commit comments

Comments
 (0)