转:Eclipse Search Tips

from:  https://github.com/ajermakovics/eclipse-instasearch/wiki/Eclipse-search-tips

Eclipse Search Tips

A few search shortcuts:

  • Ctrl+J - Incremental Find in the current file. Pressing again takes to next match
  • Ctrl+O - Quick Outline for the current class. Quickly find a method/field by name
  • Ctrl+T - Type Hierarchy. Works for classes and methods as well
  • Ctrl+E - Find an open tab by name
  • Ctrl+Alt+H - Call Hierarchy. Works for classes, methods and fields
  • Ctrl+Shift+T - Open Type. Quickly find any type by name (Ctrl+Shift+R for resources) Camel case search works here. eg. type HM or HaMa to find HashMap

Search result highlighting in the editor:

  1. Open Eclipse Preferences
  2. Go to General->Editors->Text Editors->Annotations
  3. Select Search Results from Annotation types
  4. Mark all checkboxes and, optionally, choose color
时间: 2024-08-06 16:09:55

转:Eclipse Search Tips的相关文章

eclipse usage tips

发现eclipse的新一招. 通过eclipse,在文件D:\0ITstudying\english files\python project2\201709\20150907.py,编写Python的代码,代码如下: aset = str({"name":"GMT"}) file = open("test", 'w') 虽然,只有两行的代码,却说明了,要想将字典写入文本,必须先将字典转化为str,然后写入到文本中.此处的test是plain,不

eclipse启动无响应,停留在Loading workbench状态,或老是加载不了revert resources

做开发的同学们或多或少的都会遇到eclipse启动到一定程度时,就进入灰色无响应状态再也不动了.启动画面始终停留在Loading workbench状态.反复重启,状态依旧. 多数情况下,应该是非正常关闭eclipse工作区的文件状态错误所导致的. 在工作区目录中,有一个.metadata目录,里面是工作区及各插件的信息,删除此目录,再重启eclipse,果然可以正常启动eclipse了,但原来工作区的配置和项目信息也都消失,直接显示的是eclipse欢迎界面. 那么怎么做才能保证之前的配置不丢

使用Eclipse编译运行MapReduce程序 Hadoop2.6.0_Ubuntu/CentOS

文章来源:http://www.powerxing.com/hadoop-build-project-using-eclipse/ 使用Eclipse编译运行MapReduce程序 Hadoop2.6.0_Ubuntu/CentOS 本教程介绍的是如何在 Ubuntu/CentOS 中使用 Eclipse 来开发 MapReduce 程序,在 Hadoop 2.6.0 下验证通过.虽然我们可以使用命令行编译打包运行自己的MapReduce程序,但毕竟编写代码不方便.使用 Eclipse,我们可以

Eclipse 寻找迷失的ID

这一篇会介绍用一种蠢的办法找拓展点常量ID. 1.打开IDE,之后什么都不干,直接关闭IDE,将当前工作区间(workspace)上的文件.metadata\.plugins\org.eclipse.e4.workbench\workbench.xmi 拷贝出来. 2.再次打开IDE,点击定制透视图 3.将需要隐藏的选择勾掉,类如工具栏上的search,并关闭IDE,再将当前工作区间(workspace)上的文件.metadata\.plugins\org.eclipse.e4.workbenc

Eclipse平台SDK支持的扩展点

org.eclipse.ant.core.antTasks:将Ant的任务与你的插件中的类关联起来,以扩展Ant在Eclipse中运行时的能力.org.eclipse.ant.core.antTypes: 将Ant的数据类型与你插件中的类关联起来.org.eclipse.ant.core.extraClasspathEntries :提供额外的类型库(JAR 文件)给Ant使用.org.eclipse.compare.contentMergeViewers:为一种或多种文件类型提供一个比较/合并

eclipse启动无响应,停留在Loading workbench状态 - wisgood的专栏

body { font-family: "Microsoft YaHei UI","Microsoft YaHei",SimSun,"Segoe UI",Tahoma,Helvetica,Sans-Serif,"Microsoft YaHei", Georgia,Helvetica,Arial,sans-serif,宋体, PMingLiU,serif; font-size: 10.5pt; line-height: 1.5;

eclipse plugin development -menu

org.eclipse.ui.menus locationURI MenuContribution locationURI = "[Scheme]:[id]?[argument-list]" 1.menu or toolbar 2. problem view popup:org.eclipse.ui.views.ProblemView?after= org.eclipse.ui.main.menu?after= org.eclipse.search.menu?dialogGroup o

Eclipse 插件开发 -- 深入理解菜单(Menu)功能及其扩展点( FROM IBM)

Eclipse 插件开发 -- 深入理解菜单(Menu)功能及其扩展点 菜单是各种软件及开发平台会提供的必备功能,Eclipse 也不例外,提供了丰富的菜单,包括主菜单(Main Menu),视图 / 编辑器菜单(ViewPart/Editor Menu)和上下文菜单(Context Menu).在 Eclipse 中,几乎所有的 Workbench Part 提供了人性化的菜单,大大方便了用户的操作.因此,如何扩展 Eclipse 的菜单功能,并实现特定于我们自己插件的菜单,是插件开发者必须掌

eclipse插件开发菜单(Menu)功能及其扩展点

Eclipse 具有丰富的菜单功能,给开发人员提供了很好的用户体验.总体而言,Eclipse 菜单种类包括视图 / 编辑器菜单,主菜单(Main Menu),视图 / 编辑器菜单(ViewPart/EditorPart Menu)和上下文菜单(Context Menu).插件开发人员通过灵活应用这些菜单,可以给用户提供很好的体验.由于视图和编辑器菜单功能类似,因此本文重点讲述视图菜单(视图下拉菜单及其工具栏菜单),除此之外,还将讲述主菜单和上下文菜单. 如图 1 所示为 Project Expl