Skip to content

Commit d3bf91f

Browse files
committed
Remove titel actions
1 parent b9c8983 commit d3bf91f

File tree

3 files changed

+0
-38
lines changed

3 files changed

+0
-38
lines changed

extensions/ql-vscode/package.json

Lines changed: 0 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -627,11 +627,6 @@
627627
"command": "codeQL.checkForUpdatesToCLI",
628628
"title": "CodeQL: Check for CLI Updates"
629629
},
630-
{
631-
"command": "codeQLQueryHistory.openQueryTitleMenu",
632-
"title": "View Query",
633-
"icon": "$(edit)"
634-
},
635630
{
636631
"command": "codeQLQueryHistory.openQueryContextMenu",
637632
"title": "View Query",
@@ -642,11 +637,6 @@
642637
"title": "Open Query Results",
643638
"icon": "$(preview)"
644639
},
645-
{
646-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
647-
"title": "Delete",
648-
"icon": "$(trash)"
649-
},
650640
{
651641
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
652642
"title": "Delete",
@@ -847,21 +837,6 @@
847837
"when": "view == codeQLDatabases",
848838
"group": "navigation"
849839
},
850-
{
851-
"command": "codeQLQueryHistory.openQueryTitleMenu",
852-
"when": "view == codeQLQueryHistory",
853-
"group": "navigation"
854-
},
855-
{
856-
"command": "codeQLQueryHistory.itemClicked",
857-
"when": "view == codeQLQueryHistory",
858-
"group": "navigation"
859-
},
860-
{
861-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
862-
"when": "view == codeQLQueryHistory",
863-
"group": "navigation"
864-
},
865840
{
866841
"command": "codeQLQueryHistory.sortByName",
867842
"when": "view == codeQLQueryHistory",
@@ -1304,18 +1279,10 @@
13041279
"command": "codeQLDatabases.upgradeDatabase",
13051280
"when": "false"
13061281
},
1307-
{
1308-
"command": "codeQLQueryHistory.openQueryTitleMenu",
1309-
"when": "false"
1310-
},
13111282
{
13121283
"command": "codeQLQueryHistory.openQueryContextMenu",
13131284
"when": "false"
13141285
},
1315-
{
1316-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
1317-
"when": "false"
1318-
},
13191286
{
13201287
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
13211288
"when": "false"

extensions/ql-vscode/src/common/commands.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,9 +176,7 @@ export type QueryHistoryCommands = {
176176
"codeQLQueryHistory.sortByCount": () => Promise<void>;
177177

178178
// Commands in the context menu or in the hover menu
179-
"codeQLQueryHistory.openQueryTitleMenu": TreeViewTitleMultiSelectionCommandFunction<QueryHistoryInfo>;
180179
"codeQLQueryHistory.openQueryContextMenu": TreeViewContextMultiSelectionCommandFunction<QueryHistoryInfo>;
181-
"codeQLQueryHistory.removeHistoryItemTitleMenu": TreeViewTitleMultiSelectionCommandFunction<QueryHistoryInfo>;
182180
"codeQLQueryHistory.removeHistoryItemContextMenu": TreeViewContextMultiSelectionCommandFunction<QueryHistoryInfo>;
183181
"codeQLQueryHistory.removeHistoryItemContextInline": TreeViewContextMultiSelectionCommandFunction<QueryHistoryInfo>;
184182
"codeQLQueryHistory.renameItem": TreeViewContextMultiSelectionCommandFunction<QueryHistoryInfo>;

extensions/ql-vscode/src/query-history/query-history-manager.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,11 +235,8 @@ export class QueryHistoryManager extends DisposableObject {
235235
"codeQLQueryHistory.sortByDate": this.handleSortByDate.bind(this),
236236
"codeQLQueryHistory.sortByCount": this.handleSortByCount.bind(this),
237237

238-
"codeQLQueryHistory.openQueryTitleMenu": this.handleOpenQuery.bind(this),
239238
"codeQLQueryHistory.openQueryContextMenu":
240239
this.handleOpenQuery.bind(this),
241-
"codeQLQueryHistory.removeHistoryItemTitleMenu":
242-
this.handleRemoveHistoryItem.bind(this),
243240
"codeQLQueryHistory.removeHistoryItemContextMenu":
244241
this.handleRemoveHistoryItem.bind(this),
245242
"codeQLQueryHistory.removeHistoryItemContextInline":

0 commit comments

Comments
 (0)