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

Directly create repository list instead of coping JSON to clipboard

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

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
typescript, vscode

调研方向

首先跟踪 Query History 上下文菜单和 Variant Analysis Results 视图,然后检查现有的名称对话框,该对话框用于创建仓库列表。将这些流程与 databases.json 格式和当前的 Copy 按钮进行比较。当列出的两个入口点都可以打开仓库列表创建流程,且不需要编辑剪贴板中的 JSON 时,即视为完成。

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

描述

enhancement VSCode

Is your feature request related to a problem? Please describe.
Currently for Variant Analysis both the Query History as well as the Variant Analysis Results allows you to copy the repository list (in JSON format). The problem is that this is not very intuitive for new users:

  1. You have to understand what this copied data is for / where to use it (i.e. the databases.json file of the extension)[^1]
  2. You have to find out how to open the databases.json file
    Button for opening file
  3. You have to understand the structure of the JSON data to know where to paste the snippet
    If you don't have any repository list yet, it becomes even more difficult because you have nothing to compare with, to get some hint where to paste the JSON data.

Describe the solution you'd like
Would it be possible that in addition to, or even instead of, the existing "Copy ..." button a button for directly adding the repository list was added?

It could open then the same name dialog used when creating a new list.

Applies to:

  • Context menu of Query History entry
  • Variant Analysis Results view

Describe alternatives you've considered
none

[^1]: Not sure if it can also be used with the CodeQL CLI.

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

贡献指南

打开贡献指南

从这里开始

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

github/vscode-codeql 的其他 Issue

查看 github/vscode-codeql 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 发到你的邮箱

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