Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The plugin button does not work #3092

Open
icecliffs opened this issue Nov 26, 2023 · 2 comments
Open

The plugin button does not work #3092

icecliffs opened this issue Nov 26, 2023 · 2 comments
Labels
bug Something isn't working VSCode

Comments

@icecliffs
Copy link

icecliffs commented Nov 26, 2023

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

image

Then the codeql plugin remained loaded and could not be used properly, When I click on From a folder, there is no response

image

Expected behavior

Let my CodeQL plugin run properly, Can load the database normally

Additional context

@icecliffs icecliffs added the bug Something isn't working label Nov 26, 2023
@icecliffs
Copy link
Author

I tried to lower the extension version to version 1.7.6, It's work. Why is this

image

image

@robertbrignull
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working VSCode
Projects
None yet
Development

No branches or pull requests

2 participants