@@ -48,7 +48,7 @@ import { SkeletonQueryWizard } from "../skeleton-query-wizard";
4848import { LocalQueryRun } from "./local-query-run" ;
4949import { createMultiSelectionCommand } from "../common/vscode/selection-commands" ;
5050import { findLanguage } from "../codeql-cli/query-language" ;
51- import { QueryTreeViewItem } from "../queries-panel/query-tree-view-item" ;
51+ import type { QueryTreeViewItem } from "../queries-panel/query-tree-view-item" ;
5252
5353interface DatabaseQuickPickItem extends QuickPickItem {
5454 databaseItem : DatabaseItem ;
@@ -103,6 +103,8 @@ export class LocalQueries extends DisposableObject {
103103 this . runQueryOnMultipleDatabases . bind ( this ) ,
104104 "codeQLQueries.runLocalQueryFromQueriesPanel" :
105105 this . runQueryFromQueriesPanel . bind ( this ) ,
106+ "codeQLQueries.runLocalQueryContextMenu" :
107+ this . runQueryFromQueriesPanel . bind ( this ) ,
106108 "codeQL.runLocalQueryFromFileTab" : this . runQuery . bind ( this ) ,
107109 "codeQL.runQueries" : createMultiSelectionCommand (
108110 this . runQueries . bind ( this ) ,
@@ -279,7 +281,7 @@ export class LocalQueries extends DisposableObject {
279281 * Gets the current active query.
280282 *
281283 * For now, the "active query" is just whatever query is in the active text editor. Once we have a
282- * propery "queries" panel, we can provide a way to select the current query there.
284+ * proper "queries" panel, we can provide a way to select the current query there.
283285 */
284286 public async getCurrentQuery ( allowLibraryFiles : boolean ) : Promise < string > {
285287 const editor = window . activeTextEditor ;
0 commit comments