Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Navigating shortcut in Eclipse IDE(Quick navigation shortcut (Back & Forward) of last line selected)
icon7.gif  Navigating shortcut in Eclipse IDE [message #1068756] Sun, 14 July 2013 08:47 Go to next message
Gunesh Raj is currently offline Gunesh RajFriend
Messages: 3
Registered: July 2013
Junior Member
Eclipse IDE, Version: Indigo Service Release 1 for OSX
(any perspective) - But for this case, Im using JDT.

Is there a quick navigation shortcut to jump within lines of codes?

For eg. When Im checking a code, I would drill down the methods called from here (via Menu: Open Declaration) and proceed to drill further.

Problem is I need to track back the lines I drilled down from. I tend to do this manually & it takes a long time.

I understand that theres a shortcut to jump back to last edited line, But Im looking for jump back to previous line where my cursor was regardless if I had edited it or not.

Thanks in advance.

Re: Navigating shortcut in Eclipse IDE [message #1069195 is a reply to message #1068756] Mon, 15 July 2013 11:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33137
Registered: July 2009
Senior Member
That's what the "back arrow" without the * does. For me the hover says
is Alt+Left.

On 14/07/2013 4:44 PM, Gunesh Raj wrote:
> Eclipse IDE, Version: Indigo Service Release 1 for OSX
> (any perspective) - But for this case, Im using JDT.
>
> Is there a quick navigation shortcut to jump within lines of codes?
>
> For eg. When Im checking a code, I would drill down the methods called
> from here (via Menu: Open Declaration) and proceed to drill further.
>
> Problem is I need to track back the lines I drilled down from. I tend
> to do this manually & it takes a long time.
>
> I understand that theres a shortcut to jump back to last edited line,
> But Im looking for jump back to previous line where my cursor was
> regardless if I had edited it or not.
>
> Thanks in advance.
>
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Navigating shortcut in Eclipse IDE [message #1069302 is a reply to message #1069195] Mon, 15 July 2013 16:18 Go to previous messageGo to next message
Gunesh Raj is currently offline Gunesh RajFriend
Messages: 3
Registered: July 2013
Junior Member
Hi Ed, I don't understand what shortcut is that, back arrow without * or alt left. None of it takes me back to my previous cursor's location,

Could you please elaborate or provide me to some sources of these shortcuts?

Thanks
Re: Navigating shortcut in Eclipse IDE [message #1069323 is a reply to message #1069302] Mon, 15 July 2013 17:00 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 7/15/2013 10:18 AM, Gunesh Raj wrote:
> Hi Ed, I don't understand what shortcut is that, back arrow without * or
> alt left. None of it takes me back to my previous cursor's location,
> Could you please elaborate or provide me to some sources of these
> shortcuts?
>
> Thanks

Gunesh,

I think he's referring to the fact that if you go somewhere or several
somewheres, holding down an Alt key and pressing left arrow will step
you back out progressively until you reach your original position.
(Pressing right arrow will return again to where you went, left or
right, back or forth, ad infinitum, etc.)

Incidentally, Eclipse provides the Open Declaration menu item, but it's
faster to hold down the Ctrl and click the method name, identifier, etc.
to jump to its definition.

If this isn't what Ed meant, he'll set things straight the next time
he's reading the forum.

In the meantime, I hope this helps.

Best regards.
Re: Navigating shortcut in Eclipse IDE [message #1069335 is a reply to message #1069323] Mon, 15 July 2013 17:31 Go to previous messageGo to next message
Gunesh Raj is currently offline Gunesh RajFriend
Messages: 3
Registered: July 2013
Junior Member
Hi Russell, Thanks for the clarification,

I suppose Ed is right, but on OSX, the shortcuts are slightly different, for Eclipse Indigo OSX, the shortcut is CMD + [ and ].

regards
Re: Navigating shortcut in Eclipse IDE [message #1069356 is a reply to message #1069335] Mon, 15 July 2013 18:19 Go to previous message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 7/15/2013 11:31 AM, Gunesh Raj wrote:
> Hi Russell, Thanks for the clarification,
>
> I suppose Ed is right, but on OSX, the shortcuts are slightly different,
> for Eclipse Indigo OSX, the shortcut is CMD + [ and ].
>
> regards

Sorry, I should have pointed out that Ed is indeed a Macintosh guy
whereas I am not--well not since I abandoned that particular religion
in 1997 after 13 years of writing software for it (but also for Unix
back in the day). Since then, I've scarcely run Mac OSX let alone
Eclipse on it. Oddly, all my family members poked fun at me all those
years and now, while I'm a long-time Linux guy, they all own Macs!

Best of luck!
Previous Topic:two perspectives at the same time?
Next Topic:Changing Access Modifier with shortcut?
Goto Forum:
  


Current Time: Fri Apr 19 19:24:04 GMT 2024

Powered by FUDForum. Page generated in 0.09205 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top