Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Enable local history in NetBeans

After re-installation of NetBeans my local history doesn't work any more.

Can somebody tell me where I can activate the local history or where I have to make changes in the config file?

like image 226
shub Avatar asked Nov 18 '11 12:11

shub


People also ask

How do I view history in NetBeans?

In order to view your file's local history, make sure the file is open and click Team -> Local History -> Show Local History. NetBeans should give you a diff breakdown of your current file with previous timed snapshots. Once you find the snapshot you want, right click the date and choose Revert from History.

How do I search all files in NetBeans?

Choose Edit | Find in Projects to search all files in all open projects (including project metadata files). In the Projects window, right-click the node for the folder or project that you want to search in and choose Find (or press Ctrl-F).


2 Answers

In the menu bar, choose Tools, then Plugins. Go to the Installed tab in the plugins window. Check the Show details box to get a full view and now search for the entry with name "Local History". Verify that it is set to active. If not, activate it.

Also, from the same Tools menu option, open Options and go to tab Versioning. Check the settings for "Local History". You can set there how long the history files should be kept.

like image 158
G_H Avatar answered Sep 18 '22 05:09

G_H


I had the problem where Local History stopped working after upgrade from 7.1 to 7.2. This happened on 2 computers, both running Kubuntu 12.04 and OpenJDK 7.

Versioning options, as described in other answer, were available, but didn't help - it still wasn't recording history.

Reinstalling Local History plugin also didn't work.

What finally did make it work again was uninstall of all versioning plugins (CVS, Git, Mercurial, Local History,...), restarting the IDE, then installing only Local History, and restarting again. Can't say would it help in case you need some other versioning system enabled again.

Spent a lot of time searching for a way to fix this. Hope this helps someone.

like image 35
Ivan Čurdinjaković Avatar answered Sep 22 '22 05:09

Ivan Čurdinjaković