-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Class rename does not update generic references #442
Comments
It all comes down to the indexing performed by |
Ready to test. |
Hi Eric, |
I forgot to mention that you will need to rebuild your Java indexes for this change to help. The rename relies on the indexes to determine what to search for references. The indexing was improved and so a new index should result in more possible matches.
|
I tried to clean the Groovy project the test case is in (in order to make Eclipse rebuild it from scratch), isn't it enough to rebuild the index? Also, your "ready to test" comment was published on 2018-01-27, the latest snapshot is from 2018-01-26... isn't it a snapshot publish problem? |
Cleaning does not rebuild the index. There is a button under Window > Preferences > Java to do so.
|
Ok, thank you, seems to work now, after rebuilding the index. I really thought a complete project rebuild would cause the index to be rebuilt as well. |
Consider the following:
And:
Now rename
MyBean
toMyBean2
: the reference toMyBean
type in the declaration ofTest20.list
is not updated with the new name.The text was updated successfully, but these errors were encountered: