Undo

Top  Previous  Next

You actually have 2 levels of protection when performing CodeShine operations - CodeShine's own Undo function, and your own ability to close the project without saving files.

 

Each CodeShine operation performs many edits on your code. Because of this, CodeShine contains an Undo menu item which will undo all the edits performed in the last refactoring.

 

The way this works is that CodeShine copies the entire current code module to its memory before performing any refactoring. When you choose Undo, CodeShine simply restores the code from its memory to the Visual Basic IDE.

 

In the unlikely event that CodeShine crashes during an operation, and Undo becomes non-functional, then simply close the current project without saving, then reopen it.

 

As with all things related to code, you must always protect yourself - we recommend that you back up your code frequently, and use a source control system (even if you're the only programmer in your company or home).