File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
src/PowerShellEditorServices.Protocol Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ public class CommentHelpRequestParams
2222 {
2323 public string DocumentUri { get ; set ; }
2424 public Position TriggerPosition { get ; set ; }
25+ public bool BlockComment { get ; set ; }
2526 }
2627}
2728
Original file line number Diff line number Diff line change @@ -1096,6 +1096,7 @@ protected async Task HandleCommentHelpRequest(
10961096 var ruleSettings = new Hashtable ( ) ;
10971097 ruleSettings . Add ( "ExportedOnly" , false ) ;
10981098 ruleSettings . Add ( "Enable" , true ) ;
1099+ ruleSettings . Add ( "BlockComment" , requestParams . BlockComment ) ;
10991100 settings . Add ( "PSProvideCommentHelp" , ruleSettings ) ;
11001101 var pssaSettings = EditorSession . AnalysisService . GetPSSASettingsHashtable ( settings ) ;
11011102
You can’t perform that action at this time.
0 commit comments