DEV Community


VSCode Tips: column (box) selection

lqj profile image QJ Li ・1 min read

Column selection is a very handy tool when you need to edit column of text at the same time.

VSCode column selection demo


Place the cursor in one corner and then hold Shift+Alt while dragging to the opposite corner. You can use keyboard arror up/down to place more cursors on the lines you want to edit. Press [ESC] key to exit the multicusor mode.

More reference from VSCode site:

Discussion (0)

Editor guide