Future readers: please go to the existent request GDevelop Playground (snippets and mockups) to vote for this feature.
A dedicated code embedding/snippet tool for the GDevelop forums and wiki that allows proper code formatting and easy copying of code examples, events, and functions.
Why you are requesting it: Currently, sharing code and event examples in the forums and wiki relies entirely on screenshots, which creates several challenges:
- Documentation Quality:
- Wiki contributors can only use screenshots to show code examples
- Screenshots of code can’t be copied, modified, or tested by other users
- Different screenshot styles and formats create inconsistent documentation
- Community Support:
- Helping other users debug their code requires them to manually recreate everything from screenshots
- Users need to type out entire event sequences by hand when using examples
- Questions about specific events or functions require multiple screenshots that take up space
- Learning Resources:
- Tutorial creators can’t provide easily reusable code examples
- New users have to manually recreate everything they want to try
- Code discussions are slowed down by the need to take and upload new screenshots for every change
A dedicated code snippet tool would greatly improve the quality of community support, documentation, and learning resources in the GDevelop ecosystem. It would make the forums and wiki more valuable for both new and experienced developers.
Suggested features for the tool:
- Simple, clean text formatting for code blocks
- Copy-to-clipboard functionality
- Collapsible code blocks for long examples