Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Primitives for creating/modifying/editing code without opening a model instance

オープン
#128 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
20/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
scala
領域
tooling

調査の方向性

まず、issue で説明されている既存の ls:create-* コマンドと ls:close の動作を確認します。目標が子モデルを作成して破棄するプリミティブなのか、編集可能なデフォルトモデルのフローなのか、あるいはその両方なのかを明確にします。完了には、合意されたコマンド設計と、既存、欠落、新たに保存されたモデルの処理が必要です。

索引モデルが issue の本文から書いたものです。

説明

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:

  1. 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 then ls: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:

  2. 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?

主要言語
Scala
スター
20
フォーク
8
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

NetLogo/LevelSpace のほかの issue

NetLogo/LevelSpace の issue をすべて見る

似ている issue

Scala の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。