Feature Request: Jump Marks

What I miss most in Visual Studio and in ReSharper is a Jump Mark Stack like the one in - well, you know. I would very much appreciate some automatic mark dropping on navigating for an easy way to return to where I came from. A mark switching feature (exchange top most mark with cursor position) would be nice, too.

Are there plans to add this to ReSharper? And if so, about which priority does this have? Maybe there's a road map for this feature to be release?

8 comments
Comment actions Permalink


What about the 'Ctrl'+'-' shortcut? In what scenarios do you find it lacks
functionality?

What I miss most in Visual Studio and in ReSharper is a Jump Mark
Stack like the one in - well, you know. I would very much appreciate
some automatic mark dropping on navigating for an easy way to return
to where I came from. A mark switching feature (exchange top most mark
with cursor position) would be nice, too.

Are there plans to add this to ReSharper? And if so, about which
priority does this have? Maybe there's a road map for this feature to
be release?

Best regards,
Andrey Simanovsky


0
Comment actions Permalink

I feel a bit sheepish about this but I simply didn't know about this feature. In fact, I wasn't able to find it in the documentation even when looking for it. Could you please point me into the propper direction?

You should definitely add this shortcut to the Default Keymap. It's great!

Thanks a lot.

0
Comment actions Permalink

Hello hmoeller,

This is feature of Visual Studio, not ReSharper. It is called Navigate Backward
(and have its counterpart Navigate Forward).

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


h> I feel a bit sheepish about this but I simply didn't know about this
h> feature. In fact, I wasn't able to find it in the documentation even
h> when looking for it. Could you please point me into the propper
h> direction?
h>
h> You should definitely add this shortcut to the Default Keymap. It's
h> great!
h>
h> Thanks a lot.
h>


0
Comment actions Permalink

I remap these commands to:

Alt+Left Arrow -View.NavigateBackward
Alt+Right Arrow - View.NavigateForward)

Seems more natural to me...

0
Comment actions Permalink

Well, I seem to be the only ReSharper team member, who remaps shortcuts :)

I have Ctrl-Alt-Left for backward and Ctrl-Alt-Right for forward navigation.
I have Alt-Right to expand selection (Ctrl-W in standard Resharper map) and
Alt-Left to collapse it.
With arrows I also have Ctrl-Up/Down to go to previous/next error/warning
and Alt-Up/Down to go to previous/next member. Ctrl-Shift-Alt-Up/Down is
standard Resharper shortcut to move members around, so I leave it as is.

Speaking about View.NavigateBackward, it has several problems in its functionality:

  • It removes history entries when file is closed. So if you close the file

and then change your mind and want to return to the place you were - it can't
help. ReSharper's "Recent Files" (Ctrl-E) comes to rescue, but it is different
feature.

  • It often places beginning of file in the history when file is opened, even

when caret is navigated in the middle of the file, for example when navigating
to code element or to source line from search or build output.

  • It places caret movements into history based on some weird logic. I rarely

can predict how it will work.

We had a lot of discussion about making more arbitrary (not connected with
code elements) navigation tools into ReSharper, in addition to Recent File
and Last Edit Location features, but didn't come up with decision yet. You
are welcome to submit your ideas and show your intereset in such features.

Sincerely,
Ilya Ryzhenkov

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"


0
Comment actions Permalink

I do the exact same thing. In fact, it's about the only remapping I do...
but I always make sure to do it.

It's just too useful.

"James Hebben" <no_reply@jetbrains.com> wrote in message
news:10091163.1158652342038.JavaMail.itn@is.intellij.net...
>I remap these commands to:
>

Alt+Left Arrow -View.NavigateBackward
Alt+Right Arrow - View.NavigateForward)

>

Seems more natural to me...



0
Comment actions Permalink

My first action after installing ReShaper is to immediately unmap all of
ReSharper's crazy and bizarre shortcuts, restore Visual Studio's shortcuts,
and create my own. ReSharper's illogical shortcuts have always bothered me,
especially that it remaps Windows standard keys like F6 and Shift+F6 for
changing focus within split windows.

--


"Ilya Ryzhenkov" <orangy@netix.ru> wrote in message
news:9f6b3e2912aa7c8c8aa00f4755d17@news.jetbrains.com...

Well, I seem to be the only ReSharper team member, who remaps shortcuts :)
I have Ctrl-Alt-Left for backward and Ctrl-Alt-Right for forward
navigation. I have Alt-Right to expand selection (Ctrl-W in standard
Resharper map) and Alt-Left to collapse it.
With arrows I also have Ctrl-Up/Down to go to previous/next error/warning
and Alt-Up/Down to go to previous/next member. Ctrl-Shift-Alt-Up/Down is
standard Resharper shortcut to move members around, so I leave it as is.

>

Speaking about View.NavigateBackward, it has several problems in its
functionality:

>

  • It removes history entries when file is closed. So if you close the file

and then change your mind and want to return to the place you were - it
can't help. ReSharper's "Recent Files" (Ctrl-E) comes to rescue, but it is
different feature.

>

  • It often places beginning of file in the history when file is opened,

even when caret is navigated in the middle of the file, for example when
navigating to code element or to source line from search or build output.

>

  • It places caret movements into history based on some weird logic. I

rarely can predict how it will work.

>

We had a lot of discussion about making more arbitrary (not connected with
code elements) navigation tools into ReSharper, in addition to Recent File
and Last Edit Location features, but didn't come up with decision yet. You
are welcome to submit your ideas and show your intereset in such features.

>

Sincerely,
Ilya Ryzhenkov

>

JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

>



0
Comment actions Permalink

When I first started using R#, I would have agreed.

Early on during their 1.0 EAP I sent a strong complaint to JetBrains about their stamping over all of the VS shortcuts that I had taken so long to learn. However, over time I find that R# is such an indispensable tool that I would rather have most of the R# replacements than their VS counterparts.

For example, I really dig that R# is bold enough to steal (mostly) underused keys like Ctrl+P. Who actually prints code? Apologies to anyone who actually does still print out code ;-).

Personally, I am more comfortable remapping new key combinations back to the VS commands I regularly use that R# has eaten. A paticular bug bear would be R# eating CtrlB (Build selection), but I just assigned CtrlAltShiftB to this.

I take your point entirely but, horses for courses, I doesn't bother me. I like R# more than VS.

0

Please sign in to leave a comment.