Eclipse
Eclipse stores the local file history . Right-click in the file and select Compare With → History to view it.
You may need to check the "Local Revisions" toolbar button in the History window to view them.
Local history can be configured through Window | Preferences, then General → Workspace → Local History
Netbeans
NetBeans has a local file history that acts like a version control system. You can “undo” your changes to a specific version of the file.
IntelliJ IDEA
IDEA has a similar function and even supports labels that fit into the entire project tree.
source share