无法在Eclipse中重构重命名 [英] Can't refactor rename in Eclipse

查看:243
本文介绍了无法在Eclipse中重构重命名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我对某物进行了重构重命名,它会尝试执行一会儿,但随后将其恢复为之前的名称。没有错误或任何错误提示。

If I do a refactor rename on something, it tries to do it for a moment but then just reverts it right back to what it was named before. No errors or any indication that something is wrong is shown.

我刚刚重新启动了Eclipse,现在情况更糟了。在此之前,至少选择 Refactor>重命名会将名称框起来,并假装让您进行重构。现在,重新启动后,选择 Refactor>重命名不会执行任何操作。

I just restarted Eclipse and now it's even worse. Before, at least selecting Refactor > Rename would "box" the name and pretend it's letting you do a refactor. Now, after restart, selecting Refactor > Rename does nothing.

Win7 64位

Eclipse Indigo build 20110615-0604

Win7 64 bit
Eclipse Indigo build 20110615-0604

推荐答案

尝试从Eclipse中删除项目(不要删除磁盘上的项目内容),然后重新加载它。

Try to delete the project from Eclipse (don't delete project contents on disk) and then reload it.

这篇关于无法在Eclipse中重构重命名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆