Question

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??

Était-ce utile?

La solution 3

Never Mind, found ScanOnDemand plugin and also there is source-->Scan for External Changes menu.

Autres conseils

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.

For Netbeans-IDE 7.2 and above

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

You can refresh the folder or whole workspace.

Select "Scan for external changes" from the "Source" menu.

I use netbeans deploying php projects.

Source->Scan for External Changes

The files in the projects will be refreshed or synchronized with the windows file system.

Source -> Scan For External Changes

enter image description here

I made it like below ,

Right click on the folder (e.g webpages) --> Refresh

in my netbeans 6.9

Also, if you're using subversion, if you use an external subversion client you can run "update" in the subversion menu to update the diff highlighting.

The only think that worked for me, is "Synchronization" when right-clicking on the project.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top