Add "Open in Processing" link to code examples
@EshaanAgg ya está trabajando en esto.
Desde el 28/4/2023.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Problem statement
Currently, to open a Processing example in the Processing Development Environment (PDE), users have to manually copy and paste each tab from the Processing website to the PDE editor. Additionally, they may struggle with missing files if any images, fonts, or other assets are required by the sketch.
Context
With the latest version of Processing (4.2), it is now possible to link to .pdex and .pdez files to run sketches and install libraries immediately in the PDE. However, the examples and reference examples on the Processing website do not yet have this feature.
In a separate issue, we have proposed updating the build process for the Processing website to automatically generate .pdez files for each example. This is the first step towards adding an "Open in Processing Editor" link to all examples on the website.
Proposed solution
To enable users to open Processing examples directly in the PDE editor, we propose adding an "Open in Processing" button next to each example on the Processing website. Clicking the button will automatically launch the example in the PDE.
The button link should use the newly introduced pde:// protocol and be in the format: pde://processing.org/examples/.../myexample.pdez.
We could include a tooltip to indicate that this button will launch the Processing Editor.
Benefits
The "Open in Processing" button will make it easier for users to get started with Processing by removing the manual copying and pasting process. This will save time and reduce the risk of errors when setting up and running examples.
References
- Related issue: https://github.com/processing/processing-website/issues/445
- Lenguaje dominante
- MDX
- Estrellas
- 90
- Forks
- 122
- Merge medio
- 1 h 43 min
- PR fusionados (30 d)
- 3
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de processing/processing-website
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
processing/processing-website#716 ·
-
Missing isLooping documentation Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
processing/processing-website#703 ·
-
Good First Issue Help Wanted Reference
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
processing/processing-website#698 · 5 comentarios · 1 reacción ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
processing/processing-website#681 · 2 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
processing/processing-website#646 · 3 comentarios ·