-----Message d'origine-----
   Valentin Kipiatkov wrote

   > > From: Bryan Young
   > > ...
   > What do you mean as removing class files from cache?
   > Do you mean just removing unnecessary class-files from the disk or something else?

When you rename a class, IDEA should at least
  - delete the associated .class file,
and it wouldn't hurt if it could also
  - update the junit/run configurations that use this class.


More than once, I banged my head on the wall,
because I would modify the code, and the result wouldn't change.

Reason :
     I use [Shift F10]  all the time, to relaunch the test/program.
     After renaming the class with the problem, [Shift F10] still works, and it 
shouldn't.


Alain Ravet




Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------
----- Original Message -----
From: Bryan Young
To: [EMAIL PROTECTED]
Sent: Saturday, January 05, 2002 7:02 AM
Subject: [Eap-list] Clearing Cache


I have a problem with IDEA that shows up in every other IDE I use.  It seems to me to 
be fairly simple to fix:

When I remove a java file (from the IDE), the corresponding class file remains in the 
cache.  This can cause errors that are very
difficult to track down.  As a general rule, whenever I get the urge to throw my 
laptop against the wall, the first thing I do, is
delete the cache and completely rebuild the code.

As smart as IDEA is about removing files from CVS and keeping track of dependencies, I 
would think this is a problem I shouldn't
have to deal with anymore.  Could the next version of IDEA be modified to remove 
unnecessary class files from its cache?  Maybe it
could do this when files are renamed or moved from within the IDE.


This mail has been checked by exiscan.
To be safe, please scan the mail attachements with your local virus scanner !

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

Reply via email to