Directly create repository list instead of coping JSON to clipboard

Đang mở
#3,860 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
typescript, vscode

Hướng nghiên cứu

Bắt đầu bằng cách lần theo menu ngữ cảnh Query History và chế độ xem Variant Analysis Results, sau đó kiểm tra hộp thoại đặt tên hiện có được dùng để tạo danh sách repository. So sánh các luồng này với định dạng của databases.json và các nút Copy hiện tại. Công việc được xem là hoàn tất khi cả hai điểm truy cập được liệt kê đều có thể mở luồng tạo danh sách repository mà không yêu cầu chỉnh sửa JSON trong clipboard.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
TypeScript
Star
539
Fork
240
Merge trung bình
2 ngày 6 giờ
Pull request đã merge (30 ngày)
29

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của github/vscode-codeql

Tất cả issue của github/vscode-codeql

Issue tương tự

Thêm issue về TypeScript

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.