Closed
Description
To Reproduce
Go to the explorer and right-click on a folder that is not a database, and choose CodeQL: Set Current Database
. Nothing happens.
Expected behavior
There should be a message communicating to the user that this isn't a database.
Additional context
Making the context menu only appear when the directory is a database in the first place would be desirable, but I don't know if it's possible. The current "when"
condition for the command is
"when": "resourceScheme == codeql-zip-archive || explorerResourceIsFolder"
and I can't find any refinements of explorerResourceIsFolder
.