Random Doubt but very important

People who do typing how to move up and down in their code so fast and if i write a if( … ) then how they move out of their brackets so fast while typing . Although it is a vague doubt but i could never understand why ???

just use shift to come out of braces
if you are inside() use shift)
if you ar inside[ ] use ]

if(x>y){
cout<<“Hello”<<"\n"; <----- if i am here how will i get out of this loop
}

@aryan_007 which ide you use??
sublime vscode??

Sublime…

You can use Ctrl+]: it

Moves the cursor to the matching brace in the document. If the cursor is on an opening >brace, this will move to the corresponding closing brace and vice versa

this is for vs code
check will it work on sublime
if not let me know

1 Like

for sublime it is simple

use ctrl +M

1 Like

Okay sir , got it , Thank you so much !!