processing / processing/processing4

open sketches in the current window, if no code has been written yet

未关闭
#484 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

bug help wanted pde
主要语言
Java
星标
494
派生
183
平均合并
4 小时 39 分钟
30 天内合并 PR
3

描述

In GitLab by @Pomax on May 8, 2022, 18:30

Description

It would be great if Processing didn't need to open a second window if you run it first, then load a project (either directly or using the "open recent" function).

Expected Behavior

Loading a project with an empty editor loads the project in the current editor instance.

Current Behavior

A second Processing instance is created for the loaded sketch code.

Steps to Reproduce

  1. Open processing by directly running the application
  2. Load a project

Your Environment

  • Processing version: 4.0b8
  • Operating System and OS version: Win10 pro 21H2
  • Other information:

Possible Causes / Solutions

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先在 Processing 应用程序中复现该行为:使用空编辑器启动它,然后直接加载项目,并通过“open recent”加载项目。跟踪这些入口点的编辑器窗口处理逻辑,并让现有窗口在没有代码时加载 sketch;当不再创建第二个 Processing 窗口且正常加载仍能工作时,即表示完成。

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

评估

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

把新 issue 发到你的邮箱

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