Skip to content

Commit 9547aa3

Browse files
committed
Remove feature flag for the AST Viewer
1 parent e7e8eba commit 9547aa3

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

extensions/ql-vscode/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
- Allow setting `codeQL.runningQueries.numberOfThreads` and `codeQL.runningTests.numberOfThreads` to 0, (which is interpreted as 'use one thread per core on the machine').
1414
- Clear the problems view of all CodeQL query results when a database is removed.
1515
- Add a `View DIL` command on query history items. This opens a text editor containing the Datalog Intermediary Language representation of the compiled query.
16+
- Remove feature flag for the AST Viewer. For more information on how to use the AST Viewer, [see the documentation](https://help.semmle.com/codeql/codeql-for-vscode/procedures/exploring-the-structure-of-your-source-code.html).
1617

1718
## 1.3.3 - 16 September 2020
1819

extensions/ql-vscode/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@
423423
},
424424
{
425425
"command": "codeQLAstViewer.clear",
426-
"when": "view == codeQLAstViewer && config.codeQL.experimentalAstViewer == true",
426+
"when": "view == codeQLAstViewer",
427427
"group": "navigation"
428428
}
429429
],
@@ -513,7 +513,7 @@
513513
{
514514
"command": "codeQL.viewAst",
515515
"group": "9_qlCommands",
516-
"when": "resourceScheme == codeql-zip-archive && config.codeQL.experimentalAstViewer == true"
516+
"when": "resourceScheme == codeql-zip-archive"
517517
},
518518
{
519519
"command": "codeQL.runQueries",
@@ -662,16 +662,14 @@
662662
},
663663
{
664664
"id": "codeQLAstViewer",
665-
"name": "AST Viewer",
666-
"when": "config.codeQL.experimentalAstViewer == true"
665+
"name": "AST Viewer"
667666
}
668667
]
669668
},
670669
"viewsWelcome": [
671670
{
672671
"view": "codeQLAstViewer",
673-
"contents": "Run the 'CodeQL: View AST' command on an open source file from a Code QL database.\n[View AST](command:codeQL.viewAst)",
674-
"when": "config.codeQL.experimentalAstViewer == true"
672+
"contents": "Run the 'CodeQL: View AST' command on an open source file from a Code QL database.\n[View AST](command:codeQL.viewAst)"
675673
},
676674
{
677675
"view": "codeQLQueryHistory",

extensions/ql-vscode/src/config.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,3 @@ export class QueryHistoryConfigListener extends ConfigListener implements QueryH
219219
* want to enable experimental features, they can add them directly in
220220
* their vscode settings json file.
221221
*/
222-
223-
/* Advanced setting: used to enable the AST Viewer. */
224-
export const EXPERIMENTAL_AST_VIEWER = new Setting('experimentalAstViewer', ROOT_SETTING);

0 commit comments

Comments
 (0)