Bug? Class Rename Refactor doesn't work

Hi,

Using build #1167, I can't get class renaming to work correctly. When I
rename a class all of the text and file renames go through fine, but all
references to the new class are highlighted in red as errors. Hitting
Ctrl-N and searching for the file does not locate the file.

It looks like whatever cache that IntelliJ keeps is not getting updated with
the new class information. If I restart IntelliJ then the cache is updated
and everything works OK. Any ideas?

Thanks,
John


2 comments

I had the same problem today. The reason? The affected files were in read-only mode.

/Michail

0

Not the case with me, the files were all writeable. In fact they are new
files so they haven't even been checked in version control. As I said, all
of the files where changed properly, but the IntelliJ cache wasn't
updated... This has happened every since I upgraded to IntelliJ 4.0

John
"Mic" <mich-arm@dsv.su.se> wrote in message
news:19334876.1077742852275.JavaMail.itn@is.intellij.net...

I had the same problem today. The reason? The affected files were in

read-only mode.
>

/Michail



0

Please sign in to leave a comment.