Primitives for creating/modifying/editing code without opening a model instance
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 20/100
Direzione di ricerca
Inizia esaminando i comandi ls:create-* esistenti e il comportamento di ls:close descritti nell’issue. Chiarisci se l’obiettivo è una primitiva che crea e scarta un modello figlio, un flusso per un modello predefinito modificabile o entrambi; il lavoro sarebbe completato con un design dei comandi concordato e la gestione dei modelli esistenti, mancanti e appena salvati.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Currently we can only edit child model code if we use either of the ls:create- commands. That's super helpful if people are working with child model code. However, there are two ways in which I'd really like to see this extended:
-
I would really like to see a small change where we have a command that calls this code but without having to open a model in a LevelSpace system. It could be as simple as just creating a child model and discarding it again. Yes, I know it seems a bit silly to have a prim that just calls
ls:create-<>and thenls:close, but it does feel like a different function to me. Also, it would be possible to integrate with my next idea for an extension: -
I'd like it to also be able to open a savable version of the default model, making it possible to write LevelSpace models with just one instance of NetLogo open at a time.
I imagine the usecase something like:
User calls the prim.
If model already exists, LS calls ls:create, opens an editable tab with the model code, then ls:close.
If not, LS informs the user that the model does not exist and prompts whether to create a new model.
If yes, LS opens the default model, and then forces the user to save immediately in the current working directory since, unlike regular NetLogo, LevelSpace needs the model to exist in a saved form in order to load it as a child model.
If no, LS exits out.
What do you think, @qiemem ?
Presumptuously, what should we name it?
- Lingua principale
- Scala
- Stelle
- 20
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NetLogo/LevelSpace
-
enhancement
Difficoltà 4/5 3-5 giorni Idoneità per principianti 55/100
NetLogo/LevelSpace#151 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
NetLogo/LevelSpace#146 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
NetLogo/LevelSpace#141 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NetLogo/LevelSpace#134 · 2 commenti ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
NetLogo/LevelSpace#133 · 4 commenti ·
Tutte le issue di NetLogo/LevelSpace
Issue simili
-
RS_PixelAsPoint raises out of grid where RS_PixelAsCentroid and RS_PixelAsPolygon extrapolate Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Area: Excel support
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
orbeon/orbeon-forms#7893 ·
-
x:action/fix x:module/practice-exercise x:size/small
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
lichess-org/lila#21788 · 2 commenti ·
-
area:Iceberg area:writer documentation requires-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
apache/datafusion-comet#6147 ·