Eclipse: quick search on filename

早过忘川 提交于 2019-12-04 07:24:00

问题


Very often while working in Eclipse I realize that I remember class name, but forgot in which package this class is. Using Search is not very convenient. Too many clicks and key presses. I wonder, is there a plugin to simplify this process? For example, would be great if there was text-edit box in the top of package explorer which could filter showing packages and .java files depending of entered text. Anyone knows something like that?


回答1:


Eclipse does provide similar functions:

Open Resource Shift+Ctrl+R for all resource files (including Java files)

Open Type Shift+Ctrl+T for all Java classes in classpath.

They also filter the list as you type.

Note that they search all files of all opened projects in current workspace.



来源:https://stackoverflow.com/questions/10637702/eclipse-quick-search-on-filename

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!