开发者

Is there a way to locate a java file quickly and directly in Eclipse if I know its filename?

For example, I know I have a java file named "HelloWorld.java". I don't like to browse the package hierarchy to find it finally. I'd like there is a way that le开发者_如何学编程t me input this filename and open it directly.

Thanks.


CTRL + SHIFT + T for classes (.java files represent classes), and CTRL + SHIFT + R for all files.

A dialog will open where you can type the name of the class/file. Note that you can also use wildcards (*, ?) and camel case starting letters. For example, if you type HW, HelloWorld will be located.


Ctrl+Shift+R will give you an auto-complete panel.


Yes, just type Ctrl-Shift-R to find resources, meaning all files in your project.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜