Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Trouble disabling editor automatic refresh
Trouble disabling editor automatic refresh [message #212913] Thu, 18 August 2005 22:58 Go to next message
Eclipse UserFriend
I am new to Eclipse and I am using Eclipse Version: 3.1.0 Build id:
I20050627-1435.
The following preference does not seem to work properly.
Window->Preferences->General->Workspace->Refresh automatically

Whether the following preference is checked or not Eclipse still seems to
refresh automatically (causing frequent undesired remote disk accesses).
This is causing problems in my environment. I am using clearcase and
accessing the files, which reside on
a unix box, from a mapped drive on my desktop windows box. I can edit the
files in vi or emacs without issue from my desktop. Everyone else in my
group uses emacs but I am determined to take advantage of Eclipses
navigation and source browsing
capabilities. The files require a few seconds when I want to load or save
which is reasonable for a mapped drive.
However when I try to edit files in Eclipse it appears that the IDE is
checking the file every 10 or so seconds to
see if it has changed. Since the remote file check is taking a few
seconds this behavior is causing serious delays
with the editor which makes it unusable. I verified that files are
automatically being refreshed even when the preference
setting instructs it not to. This was verified by opening a file in
Eclipse, editing/saving it in vi (outside of Eclipse)
and within seconds seeing Eclipse ask if I wanted it reloaded.

Is it possible to use Eclipse to edit remotely mapped files without these
3 to 5 second delays every 10-15 seconds?
Shouldn't disabling the 'Refresh automatically; provide the behavior
similar to vi that I am looking for?
Is this a bug? Is there a different setting that I need to tweek?

Thanks,
Mark
Re: Trouble disabling editor automatic refresh [message #212921 is a reply to message #212913] Fri, 19 August 2005 04:07 Go to previous messageGo to next message
Eclipse UserFriend
Mark,

> This was verified by opening a file in
> Eclipse, editing/saving it in vi (outside of Eclipse)
> and within seconds seeing Eclipse ask if I wanted it reloaded.

the editor does a refresh whenever you activate the editor - so in your
scenario, I assume you get the reload dialog right when you go back to
eclipse and give focus to the editor.

There is currently no way to disable this behavior. Please file a bug
against platform-text.

-tom
Re: Trouble disabling editor automatic refresh [message #212929 is a reply to message #212921] Fri, 19 August 2005 07:58 Go to previous messageGo to next message
Eclipse UserFriend
The editor appears to be looking for updates every 10 to 15 seconds even
while it has the focus. On one computer I type into the Eclipse editor,
keeping the focus, while on another computer I edit and save the remote
file using vi. Within a few seconds eclipse lets me know the file has
changed and would I like to reload it. This behavior happens with the
automatic refresh on and off. This behavior also happens with the Java
editor and the Text editor. I also downloaded the viPlugin and that
editor also has the same behavior. If the delay only happend on load/save
then I could live with that but the several second delays happen every
10-15 seconds while I'm typing.
Re: Trouble disabling editor automatic refresh [message #212937 is a reply to message #212929] Fri, 19 August 2005 08:59 Go to previous message
Eclipse UserFriend
Originally posted by: daniel.megert.gmx.net

Mark Anderson wrote:

> The editor appears to be looking for updates every 10 to 15 seconds

Wrong. The editor has no such timer ;-)

> even while it has the focus. On one computer I type into the Eclipse
> editor, keeping the focus, while on another computer I edit and save
> the remote file using vi. Within a few seconds eclipse lets me know
> the file has changed and would I like to reload it. This behavior
> happens with the automatic refresh on and off. This behavior also
> happens with the Java editor and the Text editor. I also downloaded
> the viPlugin and that editor also has the same behavior. If the delay
> only happend on load/save then I could live with that but the several
> second delays happen every 10-15 seconds while I'm typing.

If you see this with disabled General > Workspace > Refresh
automatically unchecked then please file a bug report.

Dani
Previous Topic:How to close editor when Java Project is closed
Next Topic:How to add a Java Editor as a page in MultiPageEditor
Goto Forum:
  


Current Time: Fri May 02 06:51:55 EDT 2025

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

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

Back to the top