DEV Community

QJ Li
QJ Li

Posted on

4

VSCode Tips: column (box) selection

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

VSCode column selection demo

Shortcuts:

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:

https://code.visualstudio.com/docs/editor/codebasics#_column-box-selection

Top comments (0)

The best way to debug slow web pages cover image

The best way to debug slow web pages

Tools like Page Speed Insights and Google Lighthouse are great for providing advice for front end performance issues. But what these tools can’t do, is evaluate performance across your entire stack of distributed services and applications.

Watch video