Another nifty feature of our code editor is to be able to rollback to a previous version of your code. Every time you save, a version history is created. You can review these later and rollback your code to any of them at a later time.
Here is how to do this: Open sketch settings (three dots in the code editor), and click on History tab. Click through these to find the version you would like to rollback, and simply click Restore.ย
If you are teaching a class on OpenProcessing using our class platform, you can also view your students' code history to view their progress on a sketch, or simply to see if they copy/pasted big chunks of code from somewhere else ๐ผ
Note that, for the moment, version history only includes changes in the code itself. Uploaded files and article mode content are not included in version history.