vscode-codeql
vscode-codeql copied to clipboard
CodeQL CLI cannot be found after manual removal
If the default installed codeql CLI is manually deleted, or its folder is changed, then the extension fails to find the CLI and does not provide any instructions on how to proceed.
Instead, a better experience would be that if the extension ever can't find the CLI, then it should prompt the user to redownload (or possibly even ask the user to provide a new location where to find the CLI.
Ran into the issue again. This time tried running codeQL.checkForUpdatesToCLI explicitly to repair the installation. It worked.