processing / processing/processing4

Feature request: Friendly Error System for Processing

Đang mở
#1,365 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

paused
Ngôn ngữ chính
Java
Star
494
Fork
183
Merge trung bình
4 giờ 39 phút
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Bắt đầu bằng cách xem xét PR 771 ban đầu và báo cáo dự án GSoC 2023 để hiểu cách triển khai Friendly Error Messages hiện có. Sau đó, so sánh nó với codebase Processing hiện tại và Compose UI, bao gồm các nhu cầu về test và language-server. Công việc được xem là hoàn tất khi một hệ thống đã được cập nhật và đánh giá được tích hợp vào một bản phát hành Processing trong tương lai, với phạm vi bao phủ được mở rộng và hành vi của trình gỡ lỗi tương thích.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
developer-experience, tooling
Loại issue
Tính năng
Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.