rename commands to match linter
This commit is contained in:
@@ -406,8 +406,8 @@
|
||||
"title": "CodeQL: Run Query on Selected Database"
|
||||
},
|
||||
{
|
||||
"command": "codeQL.runLocalQueryFromQueriesPanel",
|
||||
"title": "CodeQL: Run Query on Selected Database"
|
||||
"command": "codeQLQueries.runLocalQueryFromQueriesPanel",
|
||||
"title": "Run Query on Selected Database"
|
||||
},
|
||||
{
|
||||
"command": "codeQL.debugQuery",
|
||||
@@ -1169,7 +1169,7 @@
|
||||
"when": "resourceLangId == ql && resourceExtname == .ql"
|
||||
},
|
||||
{
|
||||
"command": "codeQL.runLocalQueryFromQueriesPanel",
|
||||
"command": "codeQLQueries.runLocalQueryFromQueriesPanel",
|
||||
"when": "false"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -130,7 +130,7 @@ export type LocalQueryCommands = {
|
||||
"codeQL.runQueryOnMultipleDatabasesContextEditor": (
|
||||
uri?: Uri,
|
||||
) => Promise<void>;
|
||||
"codeQL.runLocalQueryFromQueriesPanel": (uri?: Uri) => Promise<void>;
|
||||
"codeQLQueries.runLocalQueryFromQueriesPanel": (uri?: Uri) => Promise<void>;
|
||||
"codeQL.runQueries": ExplorerSelectionCommandFunction<Uri>;
|
||||
"codeQL.quickEval": (uri: Uri) => Promise<void>;
|
||||
"codeQL.quickEvalContextEditor": (uri: Uri) => Promise<void>;
|
||||
|
||||
@@ -100,7 +100,7 @@ export class LocalQueries extends DisposableObject {
|
||||
this.runQueryOnMultipleDatabases.bind(this),
|
||||
"codeQL.runQueryOnMultipleDatabasesContextEditor":
|
||||
this.runQueryOnMultipleDatabases.bind(this),
|
||||
"codeQL.runLocalQueryFromQueriesPanel": this.runQuery.bind(this),
|
||||
"codeQLQueries.runLocalQueryFromQueriesPanel": this.runQuery.bind(this),
|
||||
"codeQL.runQueries": createMultiSelectionCommand(
|
||||
this.runQueries.bind(this),
|
||||
),
|
||||
|
||||
@@ -31,7 +31,7 @@ export class QueriesPanel extends DisposableObject {
|
||||
queryTreeViewItem: QueryTreeViewItem,
|
||||
): Promise<void> {
|
||||
await this.app.queryServerCommands.execute(
|
||||
"codeQL.runLocalQueryFromQueriesPanel",
|
||||
"codeQLQueries.runLocalQueryFromQueriesPanel",
|
||||
vscode.Uri.parse(queryTreeViewItem.path),
|
||||
);
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ describe("commands declared in package.json", () => {
|
||||
command.match(/^codeQLDatabases\./) ||
|
||||
command.match(/^codeQLVariantAnalysisRepositories\./) ||
|
||||
command.match(/^codeQLQueryHistory\./) ||
|
||||
command.match(/^codeQLQueries\./) ||
|
||||
command.match(/^codeQLAstViewer\./) ||
|
||||
command.match(/^codeQLEvalLogViewer\./) ||
|
||||
command.match(/^codeQLTests\./)
|
||||
|
||||
Reference in New Issue
Block a user