How to go to the next instruction from For or for each (for example, curly braces, but in vb) in Visual Studio 2008

Does anyone know a key combination to go from the beginning of the block For/ For Each(or If, Whileetc.) to the end in the visual studio if you use vb.net? I found the following, which I thought would work, but didn't: Go to Matching Brace in Visual Studio?

After commenting there, I checked Tools / Options / Environment / Keyboard for a command Edit.GotoBracethat maps to Ctrl+ åin Swedish.

Vb.net does not use parentheses as such, but in the following example:

For Each Foo in Bar
    Do lots of stuff
Next

I would have thought that the same team should jump me from For Eachto "Next", but it does nothing. Is there another command (or does this command work, but is something breaking locally?)

+3
source share
2 answers

For other SO users, so the answer is not like the comment inside the answer:

"... there are keyboard shortcuts (Ctrl + Shift + Up and Ctrl + Shift + Down) that move the editor between the selected links / keywords."

from

https://connect.microsoft.com/VisualStudio/feedback/details/534430/block-navigation-for-vb-net-similar-to-paranthesis-navigation

+5
source

. , . NEXT . . connect.microsoft.com, .

+2

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


All Articles