问题
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??
回答1:
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.
回答2:
I think below is best Answer for that. While Scan for External Changes takes a while.
Instead.
Tools->Options->Files and uncheck Enable-auto-scanning of source. Then it will give an option like Refresh Folder.
This is cool against scanning whole project to see changes of one folder.
回答3:
Never Mind, found ScanOnDemand plugin and also there is source-->Scan for External Changes menu.
回答4:
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.
回答5:
Select "Scan for external changes" from the "Source" menu.
回答6:
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.
回答7:
Source -> Scan For External Changes
回答8:
I made it like below ,
Right click on the folder (e.g webpages) --> Refresh
in my netbeans 6.9
回答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.
回答10:
The only think that worked for me, is "Synchronization" when right-clicking on the project.
来源:https://stackoverflow.com/questions/4441000/how-do-i-refresh-netbeans-workspace