Directly create repository list instead of coping JSON to clipboard

Offen
#3,860 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
38/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Veraltet
Tech-Stack
typescript, vscode

Rechercherichtung

Beginne damit, das Kontextmenü von Query History und die Ansicht Variant Analysis Results nachzuverfolgen, und sieh dir dann den vorhandenen Namensdialog an, der zum Erstellen einer Repository-Liste verwendet wird. Vergleiche diese Abläufe mit dem Format von databases.json und den aktuellen Copy-Schaltflächen. Als erledigt gilt die Aufgabe, wenn beide aufgeführten Einstiegspunkte den Erstellungsablauf für eine Repository-Liste öffnen können, ohne dass JSON in der Zwischenablage bearbeitet werden muss.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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.

Vorherrschende Sprache
TypeScript
Sterne
539
Forks
240
Ø Merge
2 T. 6 Std.
Gemergte PRs (30 T.)
29

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus github/vscode-codeql

Alle Issues in github/vscode-codeql

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.