Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » jump to the previous cursor position
jump to the previous cursor position [message #266882] Thu, 04 December 2008 03:54 Go to next message
Michal Rehak is currently offline Michal RehakFriend
Messages: 5
Registered: July 2009
Junior Member
Hi,

is there a way to jump back to the previous cursor position?

For example: I click successively on lines 10, 20, 30. Now I am on line
30 and when I press Alt+left I want the cursor to go to line 20. After
pressing Alt+left again I want cursor to go to line 10.

With my current configuration this is not happening. Does eclipse support
this functionality?

Thanks,
Michal
Re: jump to the previous cursor position [message #266884 is a reply to message #266882] Thu, 04 December 2008 07:38 Go to previous messageGo to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 676
Registered: July 2009
Senior Member
Did you play around with the small arrow symbols in the right hand side
of the toolbar? I'm not sure if these jump to the last "editing"
position though..

Michal Rehak wrote:
> Hi,
>
> is there a way to jump back to the previous cursor position?
>
> For example: I click successively on lines 10, 20, 30. Now I am on line
> 30 and when I press Alt+left I want the cursor to go to line 20. After
> pressing Alt+left again I want cursor to go to line 10.
> With my current configuration this is not happening. Does eclipse
> support this functionality?
>
> Thanks,
> Michal
>
>
>
>
Re: jump to the previous cursor position [message #266894 is a reply to message #266884] Fri, 05 December 2008 06:19 Go to previous messageGo to next message
Michal Rehak is currently offline Michal RehakFriend
Messages: 5
Registered: July 2009
Junior Member
Thanks for the reply.
There is button for Last Edit Location, but it only works for (last) edit
location. I would like to go back also in case there was no edit on
previous cursor position.
Re: jump to the previous cursor position [message #266896 is a reply to message #266882] Fri, 05 December 2008 06:45 Go to previous messageGo to next message
Michal Rehak is currently offline Michal RehakFriend
Messages: 5
Registered: July 2009
Junior Member
From the further investigation I think the functionality is there and it
maybe just be the matter of the the proper configuration:
If a cursor position is changed via "Go to Line"(Ctrl+l) or "Quick
Outline" (Ctrl+o) or even from Outline View Alt+left will correctly bring
me back to the previous cursor position.
It is just not creating Navigation History entries when the cursor
position is changed by mouse click or keyboard.
Re: jump to the previous cursor position [message #266954 is a reply to message #266894] Mon, 08 December 2008 16:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickboldt+eclipse+newsgroup.gmail.com

CTRL-Q does this too. Note that it's not "last edit in this file" but
"last edit in any file", which can be a pain at times. :(

Michal Rehak wrote:
> Thanks for the reply. There is button for Last Edit Location, but it
> only works for (last) edit location. I would like to go back also in
> case there was no edit on previous cursor position.
>
>
>
>

--
Nick Boldt :: http://wiki.eclipse.org/User:Nickb
Re: jump to the previous cursor position [message #266962 is a reply to message #266896] Tue, 09 December 2008 08:05 Go to previous messageGo to next message
Michal Rehak is currently offline Michal RehakFriend
Messages: 5
Registered: July 2009
Junior Member
So it looks like functionality is not there.
Would anyone else find it useful?

Does anybody know of a best way to propose this functionality or should I
go straight to the Bugzilla and create Bug?Enhancement ?

Thanks
Re: jump to the previous cursor position [message #266964 is a reply to message #266962] Tue, 09 December 2008 08:15 Go to previous messageGo to next message
Remy Suen is currently offline Remy SuenFriend
Messages: 462
Registered: July 2009
Senior Member
Michal Rehak wrote:
> Does anybody know of a best way to propose this functionality or should
> I go straight to the Bugzilla and create Bug?Enhancement ?

That's the preferred method. These things need to be tracked and
bugzilla is the place for it.
Re: jump to the previous cursor position [message #266968 is a reply to message #266964] Tue, 09 December 2008 13:16 Go to previous messageGo to next message
Piyush Soni is currently offline Piyush SoniFriend
Messages: 20
Registered: July 2009
Junior Member
I have been longing this functionality for long now in eclipse :) ...
Something which seems so beautifully done in Visual Studio (2005/2008 -
don't know about older versions.)
Re: jump to the previous cursor position [message #1405121 is a reply to message #266882] Wed, 06 August 2014 16:22 Go to previous message
Karan Khokar is currently offline Karan KhokarFriend
Messages: 1
Registered: August 2014
Junior Member
Try Alt+Left and Alt+Right Very Happy

Also, I have three buttons on the menu bar icons: (i) left arrow with and asteriskthat goes to last edit, (ii) left arrow that goes to previous cusrosr mark and (iii) right arrow that goes to the next cursor mark. Initially I had only (i) and (iii) but then (ii) appeared somehow (I guess when I hit the drop-down arrow on (iii), but not sure).

Hope this helps.
Previous Topic:Ant XML Customized Folder Name
Next Topic:OpenCV in Java using eclipse
Goto Forum:
  


Current Time: Wed Jul 17 20:22:14 GMT 2019

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

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

Back to the top