Show constructor signatures on state machine transitions

Offen
#112 0 Kommentare 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
java, typescript
Bereich
devtools

Rechercherichtung

Start by locating the state machine diagram rendering and the code that creates transitions from the initial node. Check how existing precondition and postcondition labels are produced, then add constructor signatures with parameter types while preserving those labels; done means overloaded constructors leading to the same state are distinguishable in the diagram.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

The state machine diagram shows transitions from the initial node to the resulting state, but it does not show which constructor produces each transition. This makes it hard to understand classes whose constructors lead to different states.

Image

Label each initial transition with its constructor signature, for example new ClassName(type, type). Show parameter types so overloaded constructors can be distinguished, including when they lead to the same state. Keep the existing precondition and postcondition display available.

Expected result: Looking at the diagram, a user can tell which constructor leads to each initial state.

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.