IAdapter
IAdapter

Reputation: 64737

Does VS has any shortcut like ctrl+q in eclipse?

It returns your caret(aka cursor) to the place where you stopped writing code(very useful for fast code browsing)

Upvotes: 8

Views: 677

Answers (5)

Noah Richards
Noah Richards

Reputation: 6867

In addition to what is mentioned in the other answers, you can use the undo/redo trick. As long as you want to navigate to the last edit position in the current file, a quick undo/redo will take you there.

Upvotes: 2

I. J. Kennedy
I. J. Kennedy

Reputation: 25819

You are looking for View.NavigateBackward. The actual keystroke depends on your personal settings, but it's probably Ctrl + -. If not, go to Tools/Customize/Commands/Keyboard to find out what it is for your setup.

Upvotes: 1

Ilya Ryzhenkov
Ilya Ryzhenkov

Reputation: 12142

ReSharper has Ctrl+Shift-Backspace to return to previous editing position. Or Ctrl+Shift+, (Comma) to browse some recent edition places.

Upvotes: 3

Donut
Donut

Reputation: 112815

Ctrl + - will move to the previously browsed line of code (Ctrl + Shift + - will move forward). You can download PDF versions of all the default keybindings in Visual Studio 2010 from this page.

Upvotes: 7

Itay Karo
Itay Karo

Reputation: 18286

There are ctrl+- and ctrl+shift+- That navigate backward and forward.

Upvotes: 0

Related Questions