processing / processing/processing4
Feature request: Friendly Error System for Processing
Nessuno ha ancora preso questa issue.
- Lingua principale
- Java
- Stelle
- 494
- Fork
- 183
- Merge medio
- 4h 39m
- PR unite (30g)
- 3
Descrizione
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
- Original PR (legacy Processing4 repo)
- GSoC 2023 Wrap-up post
- Will's Project report
- p5.js FES Contributor Docs
- Friendly Errors i18n Book
Screenshots
Would you like to help implement this feature?
No, I’m just suggesting the feature
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia esaminando il PR 771 originale e il report del progetto GSoC 2023 per comprendere l’implementazione esistente di Friendly Error Messages. Confrontala quindi con l’attuale codebase di Processing e Compose UI, incluse le esigenze relative a test e language-server. Il lavoro sarà considerato completato quando un sistema aggiornato e revisionato sarà integrato in una futura release di Processing, con una copertura ampliata e un comportamento compatibile del debugger.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- java
- Ambito
- developer-experience, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100