|
|
Re: Right Click / File Refresh not refreshing my editors [message #633035 is a reply to message #632880] |
Fri, 15 October 2010 07:42 |
andy Messages: 13 Registered: October 2010 |
Junior Member |
|
|
I am editing the files externally, I want the system to be resilient to such actions.
The problem is that when doing a file -> refresh the files are not refreshed, the message remains, until I close the file and re-open it. This is not really acceptable from a user perspective as it's fairly confusing.
basically, for some reason (which I am trying to find out), file -> refresh (or right click -> refresh or F5) does not do what it should do and I am trying to find out why!
[Updated on: Fri, 15 October 2010 07:43] Report message to a moderator
|
|
|
Re: Right Click / File Refresh not refreshing my editors [message #633040 is a reply to message #633035] |
Fri, 15 October 2010 07:59 |
|
You will have to use a resource change listener which listens to changes made to the content of the file and whenever you get a notification for change in the file you could add a command to refresh the editor automatically on such notifications.
I don't know why file refresh is not working. It should actually work.
Regards,
Animesh
|
|
|
|
|
|
|
|
|
|
Re: Right Click / File Refresh not refreshing my editors [message #633867 is a reply to message #633853] |
Tue, 19 October 2010 16:15 |
|
Quote: | My next problem is that Eclipse will only allow me to File -> Refresh if the 'Project Explorer' is highlighted. If my file is the view highlighted or my customer explorer view is what is highlighted it is greyed out.
|
As much as i have seen till now, the File->Refresh works only for the Project Explorer and Package Explorer Views... Because the Refresh item is to refresh the contents of eclipse file system.
So if you want to refresh your Editor, may be you should add you own context menu item for refresh the editor or the custom view which you have(Use refreshLocal)
Regards,
Animesh
|
|
|
Powered by
FUDForum. Page generated in 0.04474 seconds