processing / processing/processing4

Feature request: Friendly Error System for Processing

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

还没有人认领这个 Issue。

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

描述

Relevant sub-area for this feature?

Other (specify if possible)

Feature details
Feature description

During Google Summer of Code 2023, a Friendly Error Messages system for Processing (inspired by the p5.js Friendly Error System) was developed by Will Rabalais (@WillRabalais04) with mentorship by Sam Pottinger (@sampottinger). This work adds clearer, contextual error messages, documentation links, and debugger improvements.

However, this work was never included in Processing and is not available to users today.

This request is to review, update if needed, and include this work in a future Processing release.

Note: This is meant to document work completed during GSoC 2023 and to put a pin in it for future consideration. It does not signal urgency, assign responsibility, or presume the level of effort required. The goal is mainly to ensure this work is visible and not lost.

Benefits
  • Improves error messages that are currently cryptic and hard to understand
  • Helps beginners debug and learn more effectively
  • Brings Processing closer to p5.js in terms of learning-centered tooling
Challenges
  • Updating the 2023 code to match the current Processing codebase and UI system (Compose)
  • Expanding test coverage and checking language server compatibility
Additional context
Screenshots
Image Image
Would you like to help implement this feature?

No, I’m just suggesting the feature

贡献指南

打开贡献指南

从这里开始

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

调研方向

首先查看原始 PR 771 和 GSoC 2023 项目报告,以了解现有的 Friendly Error Messages 实现。然后将其与当前的 Processing 代码库和 Compose UI 进行比较,包括其对 test 和 language-server 的需求。当一个经过更新和审查的系统集成到未来的 Processing 版本中,并具有扩展的覆盖范围和兼容的调试器行为时,即视为完成。

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

评估

技术栈
java
领域
developer-experience, tooling
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
基本清楚
新手友好度
30/100

把新 issue 发到你的邮箱

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