google / google/codeworld

Constructor default name is confusing for blocks

Offen
#294 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
enhancement funblocks
Vorherrschende Sprache
Haskell
Sterne
1.3k
Forks
201
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When creating a constructor, the default name is `Constructor`. After adding this once, you end up with what initially looks like TWO blocks called `Constructor` in the toolbox: one to define a new constructor, and one for the constructor you've just defined.

One solution might be to leave the name as "Constructor" in the toolbox, but automatically rename even the first one to add a number (Constructor1) when it's placed in the workspace.

This is minor.

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

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