Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » PHP Development Tools (PDT) » "Resource is out of sync", no Refresh on File menu
"Resource is out of sync", no Refresh on File menu [message #629000] Sat, 25 September 2010 19:07 Go to next message
Hugh Messenger is currently offline Hugh Messenger
Messages: 17
Registered: January 2010
Junior Member
Just a minor irritation, wondering if anyone else has the same issue.

If I have a PHP file open for editing in Eclipse which gets updated externally (like from a command line 'svn update'), the editor window shows me the usual "Resource is out of sync with the file system, Select File->Refresh to refresh the file."

Which is great, except that the Refresh option is greyed out on the File menu, and F5 does nothing.

However, doing a "Refresh" from the context menu in the PHP Explorer pane works, and reloads the file. Which is where the minor irritation lies, as it takes time to go and locate the file in the explorer. Hey, I did say it was a minor irritation! Wink

Helios, PDT and Subclipse, all up to date. Windows 7.

-- hugh
Re: "Resource is out of sync", no Refresh on File menu [message #629885 is a reply to message #629000] Wed, 29 September 2010 20:27 Go to previous message
Nitin Dahyabhai is currently offline Nitin Dahyabhai
Messages: 2277
Registered: July 2009
Senior Member
On 9/25/2010 3:07 PM, Hugh Messenger wrote:
> Just a minor irritation, wondering if anyone else has the same issue.
>
> If I have a PHP file open for editing in Eclipse which gets updated
> externally (like from a command line 'svn update'), the editor window
> shows me the usual "Resource is out of sync with the file system, Select
> File->Refresh to refresh the file."
>
> Which is great, except that the Refresh option is greyed out on the File
> menu, and F5 does nothing.
>
> However, doing a "Refresh" from the context menu in the PHP Explorer
> pane works, and reloads the file. Which is where the minor irritation
> lies, as it takes time to go and locate the file in the explorer. Hey, I
> did say it was a minor irritation! ;)

The Navigate->Show In... menu may help with that next time. It's rather
odd that the Refresh action's not enabled, though.

--
Nitin Dahyabhai
Eclipse WTP Source Editing and JSDT
IBM Rational


---
Nitin Dahyabhai
Eclipse WTP, IBM
Previous Topic:xdebug problems
Next Topic:Tag Highlighting
Goto Forum:
  


Current Time: Tue Sep 23 22:30:34 GMT 2014

Powered by FUDForum. Page generated in 0.04140 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software