Skip to content

Commit 1d8bcd4

Browse files
committed
Remove titel actions
1 parent dce94e8 commit 1d8bcd4

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
@@ -633,11 +633,6 @@
633633
"command": "codeQL.checkForUpdatesToCLI",
634634
"title": "CodeQL: Check for CLI Updates"
635635
},
636-
{
637-
"command": "codeQLQueryHistory.openQueryTitleMenu",
638-
"title": "View Query",
639-
"icon": "$(edit)"
640-
},
641636
{
642637
"command": "codeQLQueryHistory.openQueryContextMenu",
643638
"title": "View Query",
@@ -648,11 +643,6 @@
648643
"title": "Open Query Results",
649644
"icon": "$(preview)"
650645
},
651-
{
652-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
653-
"title": "Delete",
654-
"icon": "$(trash)"
655-
},
656646
{
657647
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
658648
"title": "Delete",
@@ -853,21 +843,6 @@
853843
"when": "view == codeQLDatabases",
854844
"group": "navigation"
855845
},
856-
{
857-
"command": "codeQLQueryHistory.openQueryTitleMenu",
858-
"when": "view == codeQLQueryHistory",
859-
"group": "navigation"
860-
},
861-
{
862-
"command": "codeQLQueryHistory.itemClicked",
863-
"when": "view == codeQLQueryHistory",
864-
"group": "navigation"
865-
},
866-
{
867-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
868-
"when": "view == codeQLQueryHistory",
869-
"group": "navigation"
870-
},
871846
{
872847
"command": "codeQLQueryHistory.sortByName",
873848
"when": "view == codeQLQueryHistory",
@@ -1310,18 +1285,10 @@
13101285
"command": "codeQLDatabases.upgradeDatabase",
13111286
"when": "false"
13121287
},
1313-
{
1314-
"command": "codeQLQueryHistory.openQueryTitleMenu",
1315-
"when": "false"
1316-
},
13171288
{
13181289
"command": "codeQLQueryHistory.openQueryContextMenu",
13191290
"when": "false"
13201291
},
1321-
{
1322-
"command": "codeQLQueryHistory.removeHistoryItemTitleMenu",
1323-
"when": "false"
1324-
},
13251292
{
13261293
"command": "codeQLQueryHistory.removeHistoryItemContextMenu",
13271294
"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)