Using Edit.SelectToLastGoBack in Visual Studio

In Visual Studio 2005, there is an Edit.SelectToLastGoBack command (bound to Ctrl + =).

I assume that he should select all the text between the current cursor position and the last “Back” point, but I cannot solve the algorithm that he uses to decide what that point is.

Does anyone know how to use this potentially very useful command?

+3
source share
3 answers

Selects to the last merge point ...

Try using the navigation bar to switch to another method in the class. Then press Ctrl + "="

, , , .

, TBH,

,

Dan

+5

.

, , . , ctrl-f (ctrl-i ), , escape ctrl- =, . , - ctrl, , , emacs .

, " ", , , .

0

, Visual Studio 2012. , VS 2012. , - , , . , . , .

Another useful command is ctrl + k ctrl + a, which is Edit.SwapAnchor. So you can be somewhere in the code and then find. Now you have a dot and an anchor (possibly also known as a cursor and last goback). You can do ctrl + = to select, then ctrl + k ctrl + a then jump from the other end using a different find - or something like that.

0
source

Source: https://habr.com/ru/post/1715691/


All Articles