eclipse - 我在 Eclipse 菜单中没有 "refactoring"选项

标签 eclipse refactoring

我刚刚在我的电脑上安装了 eclipse (indigo-web)。

我知道应该有一个名为“重构”的菜单项,但它不存在。

有人知道怎么添加吗?

非常感谢

最佳答案

来自 Eclipse 维基 article

In the Java perspective, a menu called Refactor is enabled. It contains all possible refactoring operations currently implemented by the JDT. All operations are listed, even though they may not be applicable to the current selection.



更多来自 Eclipse help site

Refactoring commands are available from the context menus of several Java views (e.g. Package Explorer, Outline) and editors.

关于eclipse - 我在 Eclipse 菜单中没有 "refactoring"选项,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8386847/

相关文章:

java - 使用 git 开发具有相同核心的跨平台 Java 应用程序的最佳方法是什么?

java - Eclipse 中光标前的矩形

java - Android XML 布局错误

swift - 在 Swift 中使用 switch 语句重构 IF-Else 嵌套代码

automation - 如何创建重构工具?

ruby-on-rails - 为投票系统找出/重构这个 if/else

Eclipse Zend PDT 从 zend-framework 隐藏待办事项/任务/警告

linux - Linux上的C++ Hello World

entity-framework - 我如何将现有实体移动到不同的 c# 命名空间并维护迁移?

c++ - 我应该使用 lambda 还是仿函数作为比较函数?