Highlight state errors in the relevant @StateSet diagram

Offen
#116 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
68/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
typescript, vscode
Bereich
devtools, frontend

Rechercherichtung

Start by tracing the existing “View error on state machine” action and the rendering of one diagram per @StateSet group. Verify the multi-group behavior with a failing call involving one state set and with a condition involving both; completion keeps single-state-set highlighting unchanged and highlights only the relevant diagrams.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

When a class has multiple @StateSet groups and the State Machine view shows one diagram per group (#115), “View error on state machine” should bring the relevant diagram into view and highlight the failing call there.

For example, if ImageWriteParam.setTiling(...) fails because of a tiling state, highlight the relevant state and transition in the tiling diagram; leave the compression diagram unhighlighted. If a failed condition involves both state sets, show the relevant error context in both diagrams.

Keep the existing error highlighting behavior for classes with one state set.

Vorherrschende Sprache
TypeScript
Sterne
6
Forks
1
Ø Merge
14 Std. 6 Min.
Gemergte PRs (30 T.)
32

Entwicklungsumgebung

In Codespaces öffnen

Startet den Dev-Container des Projekts im Browser, mit Ihrem eigenen GitHub-Konto.

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 liquid-java/vscode-liquidjava

Alle Issues in liquid-java/vscode-liquidjava

Ähnliche Issues

Weitere Issues zu TypeScript

Neue Issues direkt in Ihr Postfach

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