move out of closing brace in visual studio shortcut

ε祈祈猫儿з 提交于 2019-12-24 10:51:19

问题


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:


Pressing } gets me out of the block.



来源:https://stackoverflow.com/questions/38956031/move-out-of-closing-brace-in-visual-studio-shortcut

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!