processing / processing/processing4

Last Sketch on Startup

未关闭
#1,139 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

enhancement
主要语言
Java
星标
497
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

Most relevant area for this enhancement?

Core/Environment/Rendering

Feature to enhance

IDE startup behavior (Base class logic)

Desired enhancement

Automatically restore and open the last sketch the user worked on when the IDE starts, if no sketches are passed via command line.

Potential benefits

Saves time by eliminating manual reopening of recent sketches

Improves continuity and workflow when restarting the IDE

Matches behavior users expect from modern IDEs/editors

Easy fallback to default handleNew() behavior if the last sketch is missing

Possible drawbacks

No response

Additional context

Users may not expect sketches to reopen automatically if they prefer a clean start

If the last sketch folder was deleted or moved, the IDE will fall back to a new sketch — which could cause confusion if not logged clearly

No toggle yet to disable the feature (could be added in the future)

Would you like to work on the issue?

Yes

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先定位 Core/Environment/Rendering 中 IDE 启动 Base 类的逻辑,并跟踪命令行 sketch 和默认 handleNew() 路径的处理方式。定义上一个 sketch 的查找逻辑以及缺少文件夹时的回退逻辑,然后验证只有在命令行未传入 sketch 时,启动过程才会恢复之前的 sketch。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
desktop
Issue 类型
功能
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。