I'm not sure when this started happening, but I just noticed it in IDEA v10 (am running 10.0.3) ...
Suppose I have:
private static final String FOO = "foo";
Later in the code, I reference FOO:
If I select the FOO declaration and choose Refactor | Rename (Shift-F6), the refactor dialog appears immediately. However, if I select the FOO reference in the println() call and choose Refactor | Rename, it's taking 1 to 2 minutes (yes, minutes) for the rename dialog to open.
Only the static field is renamed, but it feels like the refactoring is initially looking way beyond the scope of the variable being renamed. (The project has >50K artifacts in it, so if it's looking through indexes of those, I'm not surprised it takes so long.)
Is anyone else seeing this?