Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS code, jump to after closing quote/braces/parenthesis

With Visual studio Code if I'm in the middle some quote/braces/brackets/parenthesis is there a way to jump to after end of the current block?

Eg. If

enter image description here

it allows me jump to the end of the quote

enter image description here

Or from:

enter image description here

to

enter image description here

like image 230
Yichaoz Avatar asked Apr 20 '16 14:04

Yichaoz


People also ask

How do I jump to a closing bracket in Visual Studio Code?

Command "editor. action. jumpToBracket" jumps between opening and closing brackets.

How do you get out of quotes in VS Code?

README. Tab out of quotes, brackets, etc for Visual Studio Code. You can toggle the extension with the 'Toggle TabOut' command.


1 Answers

April 2020 Update

Yes, use Ctrl+Shift+\, (or ⇧ + ⌘ + \ on Mac) to jump to closest bracket. If cursor is currently in-between the brackets, first it will jump to closing bracket, each consequent press will jump between opening and closing brackets.

You can reassign the binding to your liking in Keyboard Shortcuts using editor.action.jumpToBracket command.

like image 71
Jurijs Kovzels Avatar answered Oct 05 '22 08:10

Jurijs Kovzels