vscode-codeql
vscode-codeql copied to clipboard
The plugin button does not work
Describe the bug The plugin is constantly loading, and "From a folder" is not working
Version CodeQL extension version: 1.10.0 CodeQL CLI version: 2.14.3 Platform: win32 x64
To reproduce
I first created a CodeQL environment using the command codeql database create .\java-test -l=java --command="mvn -fn clean install --file pom.xml -Dmaven.test.skip=true"
Then another folder was created java-test-query
, The folder contains qlpack.yml and a query file called test-query.ql
qlpack.yml
name: java-test-query
version: 0.0.0
libraryPathDependencies: codeql/java
test-query.ql
import java
from Method method
select method
Then I opened the java-test-query
using VSCode, And opened the library of codeql again
Here is my workspace structure
Then the codeql plugin remained loaded and could not be used properly, When I click on From a folder, there is no response
Expected behavior
Let my CodeQL plugin run properly, Can load the database normally
Additional context
I tried to lower the extension version to version 1.7.6, It's work. Why is this
Thank you for raising this @icecliffs. I've opened an internal issue to look into performance issues around this area. We've also had some other reports of this happening. It should get there eventually and the plugin will load, but it can take a while. It may also be worth trying to restart the plugin and see if it's better other times or if it consistently takes this long to load.