简体   繁体   English

在Eclipse中,如何将“打开类型”快捷方式限制为仅显示当前项目中的源文件

[英]In Eclipse, how do I limit the Open Type shortcut to only show source files in my current project

I have multiple games and when I am working on these games I often use the Open Type shortcut to find my classes, however every time I use it, all classes in the workspace of the name show up. 我有多个游戏,当我正在处理这些游戏时,我经常使用Open Type快捷方式来查找我的类,但每次使用它时,名称工作区中的所有类都会显示出来。 Since I have multiple games, when I want to search for the Player class, for example, multiple Player classes show up and often times the one I am looking for is not the top. 由于我有多个游戏,例如,当我想搜索Player类时,会出现多个Player类,而且我经常寻找的那个类通常不是顶级的。

Is there anyway to change this so that it only shows the files from the selected project or even to just show the ones from the current or most recent project first? 有没有改变它,以便它只显示所选项目中的文件,甚至只显示当前或最近项目中的文件?

All help is appreciated, thanks. 感谢所有帮助。

Create a Working Set from which to search: 创建一个工作集,从中搜索:

  1. Open the Open Type dialog. 打开“打开类型”对话框。
  2. Click on the arrow in the upper right. 单击右上角的箭头。
  3. Choose 'Select Working Set' -> New. 选择“选择工作集” - >新建。
  4. From there you can choose what you wish to add to the working set...a Project, a package, certain classes, etc... 从那里你可以选择你想要添加到工作集......项目,包,某些类等...

Of course, you will have to change this working set depending upon where you wish to search. 当然,您必须根据要搜索的位置更改此工作集。 Further information 更多的信息

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何将开源API代码添加到eclipse项目? - how do I add open source API code to an eclipse project? Eclipse 3.2 Java插件如何添加快捷键构建当前项目? - How do I add a shortcut key to Eclipse 3.2 Java plug-in to build the current project? 如何在Eclipse中的项目中包含.class文件? (JAVA) - How do I include .class files in my project in Eclipse? (Java) 如何通过Eclipse快捷方式(cntrl + alt + R)仅显示(src)文件而不是(目标)文件? - How to show only (src) files not (target) files by Eclipse shortcut (cntrl + alt + R)? 快捷方式Eclipse开放声明类型 - Shortcut Eclipse open declaration type 如何将此变更日志库添加到Eclipse中的当前Android项目中? - How do I add this Change Log library to my current Android project in Eclipse? 如何获取IntelliJ的“项目文件”视图以显示源文件夹中的软件包和目录? - How do I get IntelliJ's Project Files view to show the packages and directories in the source folders? 我想开源我的Google App Engine Java项目,Eclipse项目中是否有任何身份验证信息? - I want to open source my Google App Engine Java project, is there any auth info in the Eclipse project? 如何组织我的Java Eclipse项目,以便用户只需要进行一次导入? - How do I organize my Java Eclipse project so that the user then only needs to do one import? Intellij 快捷方式 - 如何在项目视图中打开当前类? - Intellij shortcut - how to open at project view current class?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM