Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 765 Bytes

block-selection.md

File metadata and controls

14 lines (12 loc) · 765 Bytes
title author ms.author ms.date ms.topic ms.assetid
Block Selection
asb3993
amburns
04/14/2017
article
E8E0831E-E076-44B1-A82A-A325382916A6

Block selection

Visual Studio for Mac makes it straightforward to select, cut, copy, and paste sections of your code. Rectangular blocks of code can be highlighted and selected by using the Option + Drag command on the code block. The formatting within this block selection is retained when pasting the block.

Block selections can also be edited to modify text on multiple lines at once. A zero-width block selection can be used to place the caret in front of many lines at once, and allows typing identical text on multiple lines:

Block Selection and adding text