且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Eclipse:快速搜索文件名

更新时间:2022-10-23 20:23:51

Eclipse确实提供了类似的功能:



打开资源 Shift + Ctrl + R

类型路径中的所有Java类的打开类型 Shift + Ctrl + T

他们还会在您键入时过滤列表。



请注意,他们搜索当前工作空间中所有打开的项目的所有文件。 / p>

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?

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.