@@ -13,21 +13,6 @@ import type {
1313} from "../variant-analysis/shared/variant-analysis" ;
1414import type { QLDebugConfiguration } from "../debugger/debug-configuration" ;
1515
16- // A command function matching the signature that VS Code calls when
17- // a command is invoked from the title bar of a TreeView with
18- // canSelectMany set to true.
19- //
20- // It is possible to get any combination of singleItem and multiSelect
21- // to be undefined. This is because it is possible to click a title bar
22- // option without interacting with any individual items first, or even
23- // when there are no items present at all.
24- // If both singleItem and multiSelect are defined, then singleItem will
25- // be contained within multiSelect.
26- export type TreeViewTitleMultiSelectionCommandFunction < Item > = (
27- singleItem : Item | undefined ,
28- multiSelect : Item [ ] | undefined ,
29- ) => Promise < void > ;
30-
3116// A command function matching the signature that VS Code calls when
3217// a command is invoked from a context menu on a TreeView with
3318// canSelectMany set to true.
@@ -193,7 +178,7 @@ export type QueryHistoryCommands = {
193178 "codeQLQueryHistory.viewCsvAlerts" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
194179 "codeQLQueryHistory.viewSarifAlerts" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
195180 "codeQLQueryHistory.viewDil" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
196- "codeQLQueryHistory.itemClicked" : TreeViewTitleMultiSelectionCommandFunction < QueryHistoryInfo > ;
181+ "codeQLQueryHistory.itemClicked" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
197182 "codeQLQueryHistory.openOnGithub" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
198183 "codeQLQueryHistory.copyRepoList" : TreeViewContextMultiSelectionCommandFunction < QueryHistoryInfo > ;
199184
0 commit comments