Build 615
Red Hat Linux 7.2

Short story:  

While editing a lot of files, IDEA would apparently open up a newly
opened file into the same editor as a previous file and get the buffers
mixed up.

Long story:  

I was editing a lot of files copied from a separate product into our
build.  The process was:

- copy files (about 60 .java files) from external build into a new
directory managed by IDEA (file sync turned off).  I did a file sync
after all the files were copied over.  

- By clicking on files in project window, I was opening each file and
adding a comment header and new package name at the top of the file (and
deleted old package name).  I suppose IDEA could do all of this
automatically, but I didn't try.  I did this all very quickly (I'm quick
on the keyboard) and sometimes remembered to do an alt-a to save all
files before tabs got reused, and sometimes didn't.

- After adding all the headers, I again went through all 60 files and
fixed up unresolved references by doing all the alt-enter stuff to
select imported packages. 

Somewhere during this last step, IDEA started to open up new files by
putting the text into an open file and getting the buffers mixed up.
Saved files contained parts of both files.  Another problem (symptom?)
was that the project window got messed up as to which file was being
opened (i.e. I double click on a java file in the project tool window
and the wrong file gets opened up/selected in the editor).


-- Rick


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to