V
Virgil Green
Roedy said:Try this experiment. Write some code in Eclipse. Shut down eclipse.
modify a source file with a text editor. Start up eclipse. Do not
"refresh". and notice that your changes are missing. It is showing you
something other than the flat files. It must have some other copy.
That might be a cvs like repository or an internal representation, but
it is not the flat files.
Nope. I changed my code with TextPad. Saved it. Opened up Eclipse. I
happened to have left that particular .java file open in Eclipse when I last
exited. It opened right up, showed me the changes and promptly informed me
that I had a compile error before I had touched the mouse or keyboard.
I've never had an externally initiated change to a source file fail to show
up in Eclipse. To expand on your experiment, I then opened the same file in
TextPad while I had it open in Eclipse. I removed the change via TextPad and
saved it. When I returned to Eclipse I was presented with a dialog
indicating that the file had been changed externally by another program and
it offered to reload it. TextPad will reciprocate with the same kind of
external change detection. I rely on that often in TextPad when watching
live log files.
I'm running a faily untweaked copy of Eclipse 3.0.2 build 200503110845 on a
Windows/2000 machine.