1

I am new to visual studio. Everytime I open a brace in visual studio the IDE automatically closes the brace.

for (int i = 0; i < n; ++i) {
    int j = 2 * i; // My cursor is here right now
}
// I want my cursor here without pressing down arrow key 

I don't want to press down arrow key every time I want to move out of the block. Is there any shortcut for that in visual studio. I know I can turn off this feature.

Edit 1 : I don't know why this question is marked as duplicate. In fact, the "original" question is completely different than mine. The "original" question asks how to go from opening brace to closing brace and vice versa.

  • Check the answers [here](http://stackoverflow.com/questions/11055800/how-to-turn-off-brackets-quotes-auto-completion) – Jim Hewitt Aug 15 '16 at 13:34
  • @JimHewitt The link mentioned only describes the steps to turn off the feature. I know I can turn off this feature. I want to know if there is a shortcut (to jump out of the block). Am I missing something in the link you mentioned ? – Gurkirat Singh Aug 15 '16 at 13:48
  • Sorry, I guess I missed the last part of your question – Jim Hewitt Aug 15 '16 at 14:09
  • Does ctrl+] do something different than what you want? – Wayne Werner Aug 15 '16 at 20:19

1 Answers1

0

Pressing } gets me out of the block.