goerwin
goerwin

Reputation: 1241

How to jump the cursor to beginning or end of a text selection in Visual Studio Code?

Is there a way I can jump the cursor to the beginning of the selection so I can then select the opening bracket with shift + leftArrow?

enter image description here

Upvotes: 1

Views: 1004

Answers (1)

rioV8
rioV8

Reputation: 28643

You can use the command selectBy.swapActive from the extension Select By v1.4.0

You can use the Command Palette (Swap the achor and active (cursor) position of the selection(s)) or define a key binding.

Upvotes: 1

Related Questions