HAL9000
HAL9000

Reputation: 3751

How to easily see the name of the current method

When I used Visual Studio with C++ there was a nice combo box where you could always easily see the name of the method in which the cursor was. Is there something similar in eclipse for Java (except of Outline, of course)?

Upvotes: 1

Views: 49

Answers (2)

Hauke Ingmar Schmidt
Hauke Ingmar Schmidt

Reputation: 11607

You can switch on a breadcrumb like bar in the top of Java editors. Right-click a Java editor an select Show in breadcrumb or ShiftAltB.

Breadcrumb

You can also select elements of every level, the dropdowns also allow to expand into deeper levels.

Upvotes: 2

Louis B
Louis B

Reputation: 342

if you hover your cursor over the closing bracket of a method or class then it will show you the name of the method/class that the bracket belongs too

Upvotes: 1

Related Questions