Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I refresh Netbeans workspace?

In Eclipse, there is something called refresh workspace or F5 that refreshes the files, to make sure to pick-up any files that are changed outside eclipse.

How do i do that in Netbeans ? I am using 6.9.1 for PHP/Java development?

I don't see any refresh nor F5 works?

any hints? any plugins??

like image 604
Satish Avatar asked Dec 14 '10 15:12

Satish


People also ask

Why my project is not showing in NetBeans?

The root cause is that the java version was upgraded to 11 along with the OS. You can fix this by doing one of the following: Change the default jdk/jre version in the OS to java 8 . Change the jdk version to 8 in Netbeans by changing its configuration (etc/netbeans.

What to do when NetBeans is not responding?

The solution is to download the latest nightly build of NetBeans, which does support Java 9: Normally you would go to the NetBeans download page and click the Development link in the top right corner of the screen.

How do I open a workspace in NetBeans?

Right-click on the shortcut and click "Properties". In the "Target" textbox, add the extra parameter to the very end: --userdir C:\path\to\new_workspace. Click "OK" to exit the Properties window and double click the shortcut. Netbeans will launch and create/load the workspace at that location.


2 Answers

Within NetBeans:

select "Source" > "Scan for External Changes"  

this will force the IDE to look for changes and "Refresh" the file structure.

I develop PHP within NetBeans and am frequently creating new files outside of the IDE. This does the trick every time and works quickly.

like image 82
mrbnetworks Avatar answered Oct 07 '22 10:10

mrbnetworks


I think below is the best Answer to that. While Scan for External Changes takes a while.

Instead.

Tools->Options->Miscellaneous->Files and uncheck Enable-auto-scanning of source. Then it will give an option like Refresh Folder.

This is cool against scanning the whole project to see changes in one folder.

like image 36
bharatesh Avatar answered Oct 07 '22 10:10

bharatesh