开发者

How to enable the bar showing file location in Eclipse

I want to enable the "navigation" bar that is suppose开发者_高级运维d to just below the tabs in the editor. It shows what the file hierarchy is. For example if you had a HelloWorld project it shows: HelloWorld -> src -> SomeClass.java -> main And all the different locations are clickable. I know you can use the double arrows to link what is in the editor to the resource in the package explorer.


Additionally to the shortcut in the answer from Eli, there is a button in your toolbar:

How to enable the bar showing file location in Eclipse


This feature is called breadcrumbs. From Eclipse help:

To enable the breadcrumb invoke Toggle Java Editor Breadcrumb in the toolbar or press Alt+Shift+B in the Java editor.

The enablement of the breadcrumb is remembered for each perspective. The breadcrumb can for example be enabled in the debug perspective and be disabled in the Java perspective.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜