Closed
Description
If create a test in vscode, run it, and import the generated .testproj
database, I can do most normal operations on this database except for use the AST Viewer. When I open the file in foo.testproj/src/path/to/code.c
and click the AST Viewer button, I get the error: "Cannot view the AST. Please select a valid source file inside a CodeQL database. (codeQL.viewAst)"
The only way I can get this to work is if I manually build a database from the command line with codeql database create
instead of using vscode, and then open the file in the src.zip
file, but this is inconvenient.