Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

The plugin button does not work

未关闭
#3,092 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
typescript, vscode
领域
devtools

调研方向

使用报告中描述的 database command、qlpack.yml 和 test-query.ql,在安装 CodeQL 扩展 1.10.0 和 CLI 2.14.3 的 win32 x64 上复现该问题。首先跟踪在 java-test-query 工作区打开时选择“From a folder”后发生的情况。当插件停止加载、响应按钮并正常加载数据库时,即表示完成。

由索引模型根据 Issue 内容生成。

描述

bug VSCode

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

主要语言
TypeScript
星标
539
派生
240
平均合并
2 天 6 小时
30 天内合并 PR
29

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

github/vscode-codeql 的其他 Issue

查看 github/vscode-codeql 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。