"Open Type"命令在Eclipse工作区中不响应

apo*_*217 20 eclipse hotkeys

在Eclipse中,您可以使用Ctrl+ Shift+ T来搜索类型.不幸的是,Eclipse在我的一个工作区中没有响应这个热键.

我运行IBM AST 6.1,它是基于Eclipse 3.2.1(见http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.express. doc/info/exp/ae/tins_ast_roadmap.html).

当我转到Window - > Preferences - > General - > Keys时,它显示Open Type命令设置为Key Sequence Ctrl+ Shift+ T"When""In Windows".它是否正确?

我可以使用Ctrl+ Shift+ R在同一个工作区中搜索资源,使用相同的CtrlShift密钥(即密钥正在工作).我也可以在其他工作区使用Ctrl+ Shift+ T与相同的Eclipse安装.

我该如何启用Ctrl+ Shift+ T?我们需要解决哪些其他信息?

Arn*_*sch 35

你有正确的观点吗?"Open Type"可以在Java,JavaEE ...透视图中工作,但不能在"Synchronize"透视图中工作(例如).

要在eclipse Mars(4.5)中为"Synchronize"透视图启用它,请转到Window> Perspective> Customize Perspective ...并在"Action Set Availability"选项卡中选中"Java Navigation"操作集.

  • 在任何其他角度,您可以转到Window> Customize Perspective ...并从对话框_Command Groups Availability_选项卡中选中_Java Navigation_以在该透视图中启用Open Type (12认同)

Joh*_*ary 7

我已经处于正确的视角,因此这不是我的问题的原因.然而,关闭并重新打开项目为我解决了问题.


ang*_*her 7

尝试以下列方式删除所有Eclipse索引名称:

  1. 转到文件夹workspace/.metadata/.plugins/org.eclipse.jdt.core
  2. 删除所有*.index文件和savedIndexNames.txt
  3. 重启Eclipse

这些建议由Mike Schrag提供,整个跟踪可以在这里找到.