Skip to content

Commit 411fc37

Browse files
Kapil Borledaviwil
authored andcommitted
Add type to request comment help
1 parent cb68635 commit 411fc37

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
//
2+
// Copyright (c) Microsoft. All rights reserved.
3+
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
4+
//
5+
6+
using Microsoft.PowerShell.EditorServices.Protocol.MessageProtocol;
7+
8+
namespace Microsoft.PowerShell.EditorServices.Protocol.LanguageServer
9+
{
10+
class CommentHelpRequest
11+
{
12+
public static readonly RequestType<CommentHelpRequestParams, CommentHelpRequestResult, object, object> Type
13+
= RequestType<CommentHelpRequestParams, CommentHelpRequestResult, object, object>.Create("powershell/getCommentHelp");
14+
}
15+
16+
public class CommentHelpRequestResult
17+
{
18+
public string[] content;
19+
}
20+
21+
public class CommentHelpRequestParams
22+
{
23+
public string DocumentUri { get; set; }
24+
public Position TriggerPosition { get; set; }
25+
}
26+
}
27+

0 commit comments

Comments
 (0)