move out of closing brace in visual studio shortcu

2019-07-29 12:12发布

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.

1条回答
孤傲高冷的网名
2楼-- · 2019-07-29 12:28

Pressing } gets me out of the block.

查看更多
登录 后发表回答