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??
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.
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.
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.
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.
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With