short cut key to navigate to the starting of the loop or an if-else condition.https://www.eclipse.org/forums/index.php/mv/msg/265021/763775/#msg_763775
I have been using eclipse since 2 years , programming with java on windows xp.
I am not trying to report any bug.
I have a requirement. it is as follows.

I am in the middle of a big java file, inside a method. (say on some line number 1145).
I want to know whether this line of code is

1)inside a for-loop or while-loop
or
2) inside a if-else condition

without actually navigating to the top of the code where this loop starts, using the mouse scroll button,
i just want to navigate to the top of the for-loop or while-loop
using a shortcut key.

just like the shortcut key control+shift+up_arrow or control+shift+down_arrow keys, move to the next/previous methods, i want a short cut key to navigate to the starting of the loop or an if-else condition.

Please let me know, if this feature is available.

Hope i have posted my question clearly. If not, please feel free to write back, i will try to be more clear.

Thank you everybody

Look forward for your support.]]>liharlihar2011-12-10T14:51:56-00:00Re: short cut key to navigate to the starting of the loop or an if-else condition.https://www.eclipse.org/forums/index.php/mv/msg/265021/764411/#msg_764411
Please somebody respond

If i have posted in the wrong forum, somebody please guide me to another forum/move this topic to the concerned.

thanks in anticipation.]]>liharlihar2011-12-12T05:46:23-00:00Re: short cut key to navigate to the starting of the loop or an if-else condition.https://www.eclipse.org/forums/index.php/mv/msg/265021/773241/#msg_773241
dowonderatwill lastname2012-01-01T00:32:37-00:00Re: short cut key to navigate to the starting of the loop or an if-else condition.https://www.eclipse.org/forums/index.php/mv/msg/265021/774812/#msg_774812
In my Eclipse, Ctrl-Shift-P is bound to "go-to-matching-bracket". Assuming that's what you intended, that's not quite what he's looking for.

I'm not aware of any way to do this with stock Eclipse. However, this is one of the numerous additional functions provided by the Emacs+ plugin. The "backward-up-list" function is defined to "Move backward out of one level of bracketed expressions", so it's more general than "if" or "loop".

It's not necessary to be an Emacs user to get value out of Emacs+.]]>David M. Karr2012-01-04T17:13:32-00:00