views:

41

answers:

2

In our code base there are a few very long methods (several pages worth of code). When reading the code, it would sometimes be good to be able to see the name of the method the current line belongs to, without paging up to the beginning of the method. Is this possible in Intellij IDEA? I am using Intellij IDEA 7.0.3.

+2  A: 

In the structure panel select the "Autoscroll from source" option. This way when you place the cursor inside any method the structure panel will show which method you're in.

Hugo Palma
+2  A: 

You can use View | Context Info (Alt+Q). It will display a pop-up on the top of the editor with the current context information (class/method signature).

CrazyCoder

related questions