Closed
Description
Steps to reproduce:
Open a new workspace folder with qlpack.yml
file like
name: user/my-custom-queries
version: 1.0.0
libraryPathDependencies: ["codeql-cpp"]
Do Add workspace folder
and choose the top-level ql library directory. Select any cpp
database. Run command CodeQL: Quick Query
to create a quick query buffer, but you needn't edit it or run it. Go to the test panel.
Expect: just one top-level directory of tests, for ql
.
Actual: three top-level directories, one for ql
, one for the original workspace folder, one for Quick Query
's synthetic directory.
Alternatively, maybe we can make a special case to hide Quick Query since it will never have qltest files, and leave the external-to-ql
workspace folder as visible but empty, since maybe the user might put qltest files there, in which case it would be visible and nonempty.