We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77eab6d commit a06fafeCopy full SHA for a06fafe
src/PowerShellEditorServices.Protocol/Server/LanguageServer.cs
@@ -1109,6 +1109,12 @@ protected async Task HandleCommentHelpRequest(
1109
.Split('\n')
1110
.Select(x => x.Trim('\r'))
1111
.ToArray();
1112
+
1113
+ if (helpLocation.Equals("begin", StringComparison.OrdinalIgnoreCase))
1114
+ {
1115
+ // we need to trim the leading `{` that the correction sends.
1116
+ result.Content = result.Content?.Skip(1).ToArray();
1117
+ }
1118
}
1119
1120
await requestContext.SendResult(result);
0 commit comments