How to disable automatic scanning in Netbeans?
Sometimes you are using a PC with low memory or old processor, but while using Netbeans IDE you find scanning projects or scan for external changes taking quite a while which sometimes not very comfortable.
The scanning is supposed to occur intermittently and its intention is good, but sometimes it affects the performance.So we will see how we can disable automatic scanning feature in Netbeans in such cases.
But before actually disabling the auto scanning feature, you may want to check how many projects and files are open, if there are too many files open or unused projects are open then it is better to close these projects. When you close all the unused Projects , these products do not get scanned when you start the Netbeans.
Disabling auto scanning in Netbeans :
To disable the auto scanning in Netbeans you need to go to the Tools -> Options -> Miscellaneous -> Files
You can disable the checkbox as shown in image below :
Though you can disable the auto scanning by this option by deselecting the checkbox, but you should try first option first and then go for the second one, as the scanning is sometimes desired.
Scan for external changes
Whenever main window of the Netbeans gets the focus then by default Netbeans looks for external changes. So you can also see the message scan for External Changes , the above mentioned option also stops this scan for external changes.
How to start scan for External changes manually
Now lets see you have disabled the auto scanning option but still you want to keep the code information up to date and correct then you can use the option in Sources Menu, that option is Scan for external changes.
You may also want to read another article about shortcuts available in netbeans here.