Skip to main content
All CollectionsCoding Sketches
Using Code History to Rollback Code
Using Code History to Rollback Code

Mistakes happen, and there are times a few undos are not enough. Code History feature helps you to rollback to previous versions easily!

Sinan Ascioglu avatar
Written by Sinan Ascioglu
Updated over 5 years ago

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.

Did this answer your question?