Reputation: 1308
Is it possible to set a "rollback point" in any Java IDE (Eclipse, NetBeans, IDEA), so that I can quickly get back to it if I don't like the change without going through the millions of Undo's?
I know that there's a best practice branch-commit quickly-merge, but that's not appropriate in current environment.
Upvotes: 4
Views: 259
Reputation: 2250
Eclipse
Eclipse keeps a local history of a file. Right-click in the file and choose Compare With -> History to view it.
It may be necessary to mark the 'Local Revisions' tool bar button in the History view to view them.
The local history can be configured via Window | Preferences, then General -> Workspace -> Local History
NetBeans
NetBeans has a local file history which acts similar to a versioning system. You can "rollback" your changes to a specific version of the file.
IntelliJ IDEA
IDEA has the similar feature, and even supports labels, which are put on the whole project tree.
Upvotes: 3
Reputation:
NetBeans has a local file history which acts similar to a versioning system. You can "rollback" your changes to a specific version of the file.
Upvotes: 1