|
554 | 554 | "icon": "$(preview)" |
555 | 555 | }, |
556 | 556 | { |
557 | | - "command": "codeQLQueryHistory.removeHistoryItem", |
| 557 | + "command": "codeQLQueryHistory.removeHistoryItemTitleMenu", |
| 558 | + "title": "Delete", |
| 559 | + "icon": "$(trash)" |
| 560 | + }, |
| 561 | + { |
| 562 | + "command": "codeQLQueryHistory.removeHistoryItemContextMenu", |
| 563 | + "title": "Delete", |
| 564 | + "icon": "$(trash)" |
| 565 | + }, |
| 566 | + { |
| 567 | + "command": "codeQLQueryHistory.removeHistoryItemContextInline", |
558 | 568 | "title": "Delete", |
559 | 569 | "icon": "$(trash)" |
560 | 570 | }, |
|
751 | 761 | "group": "navigation" |
752 | 762 | }, |
753 | 763 | { |
754 | | - "command": "codeQLQueryHistory.removeHistoryItem", |
| 764 | + "command": "codeQLQueryHistory.removeHistoryItemTitleMenu", |
755 | 765 | "when": "view == codeQLQueryHistory", |
756 | 766 | "group": "navigation" |
757 | 767 | }, |
|
853 | 863 | "when": "view == codeQLQueryHistory" |
854 | 864 | }, |
855 | 865 | { |
856 | | - "command": "codeQLQueryHistory.removeHistoryItem", |
| 866 | + "command": "codeQLQueryHistory.removeHistoryItemContextMenu", |
857 | 867 | "group": "7_queryHistory@0", |
858 | 868 | "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
859 | 869 | }, |
860 | 870 | { |
861 | | - "command": "codeQLQueryHistory.removeHistoryItem", |
| 871 | + "command": "codeQLQueryHistory.removeHistoryItemContextInline", |
862 | 872 | "group": "inline", |
863 | 873 | "when": "viewItem == interpretedResultsItem || viewItem == rawResultsItem || viewItem == remoteResultsItem || viewItem == cancelledRemoteResultsItemWithoutLogs || viewItem == cancelledResultsItem || viewItem == cancelledRemoteResultsItem" |
864 | 874 | }, |
|
1159 | 1169 | "when": "false" |
1160 | 1170 | }, |
1161 | 1171 | { |
1162 | | - "command": "codeQLQueryHistory.removeHistoryItem", |
| 1172 | + "command": "codeQLQueryHistory.removeHistoryItemTitleMenu", |
| 1173 | + "when": "false" |
| 1174 | + }, |
| 1175 | + { |
| 1176 | + "command": "codeQLQueryHistory.removeHistoryItemContextMenu", |
| 1177 | + "when": "false" |
| 1178 | + }, |
| 1179 | + { |
| 1180 | + "command": "codeQLQueryHistory.removeHistoryItemContextInline", |
1163 | 1181 | "when": "false" |
1164 | 1182 | }, |
1165 | 1183 | { |
|
0 commit comments