Skip to content

Commit 856e516

Browse files
authored
Renamed Run Query command (#1962)
1 parent 957f6a0 commit 856e516

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

extensions/ql-vscode/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## [UNRELEASED]
44

5+
- Renamed command "CodeQL: Run Query" to "CodeQL: Run Query on Selected Dababase".
6+
57
## 1.7.7 - 13 December 2022
68

79
- Increase the required version of VS Code to 1.67.0. [#1662](https://github.com/github/vscode-codeql/pull/1662)

extensions/ql-vscode/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ The instructions below assume that you're using the CodeQL starter workspace, or
9494

9595
1. Expand the `ql` folder and locate a query to run. The standard queries are grouped by target language and then type, for example: `ql/java/ql/src/Likely Bugs`.
9696
1. Open a query (`.ql`) file.
97-
1. Right-click in the query window and select **CodeQL: Run Query**. Alternatively, open the Command Palette (**Ctrl+Shift+P** or **Cmd+Shift+P**), type `Run Query`, then select **CodeQL: Run Query**.
97+
1. Right-click in the query window and select **CodeQL: Run Query on Selected Database**. Alternatively, open the Command Palette (**Ctrl+Shift+P** or **Cmd+Shift+P**), type `Run Query`, then select **CodeQL: Run Query on Selected Database**.
9898

9999
The CodeQL extension runs the query on the current database using the CLI and reports progress in the bottom right corner of the application.
100100
When the results are ready, they're displayed in the CodeQL Query Results view. Use the dropdown menu to choose between different forms of result output.

extensions/ql-vscode/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@
320320
},
321321
{
322322
"command": "codeQL.runQuery",
323-
"title": "CodeQL: Run Query"
323+
"title": "CodeQL: Run Query on Selected Database"
324324
},
325325
{
326326
"command": "codeQL.runQueryOnMultipleDatabases",
@@ -1318,7 +1318,7 @@
13181318
},
13191319
{
13201320
"view": "codeQLQueryHistory",
1321-
"contents": "Run the 'CodeQL: Run Query' command on a QL query.\n[Run Query](command:codeQL.runQuery)"
1321+
"contents": "Run the 'CodeQL: Run Query on Selected Database' command on a QL query.\n[Run Query](command:codeQL.runQuery)"
13221322
},
13231323
{
13241324
"view": "codeQLDatabases",

0 commit comments

Comments
 (0)