diff --git a/extensions/ql-vscode/CHANGELOG.md b/extensions/ql-vscode/CHANGELOG.md index b07e4b7f49e..a705dead41c 100644 --- a/extensions/ql-vscode/CHANGELOG.md +++ b/extensions/ql-vscode/CHANGELOG.md @@ -2,8 +2,8 @@ ## [UNRELEASED] -- Ensure databases are unlocked when removing them from the workspace. This will ensure that after a database is removed from VS Code, queries can be run on it from the command line without restarting VS Code. Requires CodeQL CLI 2.4.1 or later. [#681](https://github.com/github/vscode-codeql/pull/681) -- Fix bug when removing databases where sometimes the source folder would not be removed from the workspace or the database files would not be removed from the workspace storage location. [#692](https://github.com/github/vscode-codeql/pull/692) +- Ensure databases are unlocked when removing them from the workspace. This will ensure that after a database is removed from VS Code, queries can be run on it from the command line without restarting the IDE. Requires CodeQL CLI 2.4.1 or later. [#681](https://github.com/github/vscode-codeql/pull/681) +- Fix bug when removing databases where sometimes the source folder would not also be removed from the workspace or the database files would not be deleted from the workspace storage location. [#692](https://github.com/github/vscode-codeql/pull/692) - Query results with no string representation will now be displayed with placeholder text in query results. Previously, they were omitted. [#694](https://github.com/github/vscode-codeql/pull/694) - Add a label for the language of a database in the databases view. This will only take effect for new databases created with the CodeQL CLI v2.4.1 or later. [#697](https://github.com/github/vscode-codeql/pull/697) - Add clearer error message when running a query using a missing or invalid qlpack. [#702](https://github.com/github/vscode-codeql/pull/702) @@ -12,6 +12,7 @@ - Avoid error dialogs when QL test discovery or database cleanup encounters a missing directory. [#706](https://github.com/github/vscode-codeql/pull/706) - Add descriptive text and a link in the results view. [#711](https://github.com/github/vscode-codeql/pull/711) - Fix the _Set Label_ command in the query history view. [#710](https://github.com/github/vscode-codeql/pull/710) +- Add the _CodeQL: View AST_ command to the right-click context menu when a source file in a database source archive is open in the editor. [#712](https://github.com/github/vscode-codeql/pull/712) ## 1.3.7 - 24 November 2020 diff --git a/extensions/ql-vscode/package.json b/extensions/ql-vscode/package.json index ba4fde1c09f..f7512737e0a 100644 --- a/extensions/ql-vscode/package.json +++ b/extensions/ql-vscode/package.json @@ -526,7 +526,8 @@ }, { "command": "codeQL.runQueries", - "group": "9_qlCommands" + "group": "9_qlCommands", + "when": "resourceScheme != codeql-zip-archive" } ], "commandPalette": [ @@ -656,6 +657,10 @@ "command": "codeQL.runQuery", "when": "editorLangId == ql && resourceExtname == .ql" }, + { + "command": "codeQL.viewAst", + "when": "resourceScheme == codeql-zip-archive" + }, { "command": "codeQL.quickEval", "when": "editorLangId == ql"