Rollback file in any Java IDE

Is it possible to set a “rollback point” in any Java IDE (Eclipse, NetBeans, IDEA) so that I can quickly return to it if I don't like the changes without going through millions of Undo?

I know that there is good practice-commit-commit quick-merge, but this is not suitable in the current environment.

+4
source share
3 answers

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.

+3
source

NetBeans has a local file history that acts like a version control system. You can "undo" your changes in a specific version of the file.

+1
source

In Eclipse, I think Local History might help

+1
source

Source: https://habr.com/ru/post/1379293/


All Articles