Expand Selection command in Visual Studio 2017

Expand Selection command in Visual Studio 2017

The updated preview version of Visual Studio 2017 added a new command called Expand Selection. Expand Selection command in Visual Studio allows us incrementally expand code block selection to the next logical block. As a result, this will make the selection of code snippet much faster. You can use the shortcuts Shift + Alt + = to expand your code block selection and also use Shift + Alt+ – to unselect the current selection.

Using Expand Selection Command in Visual Studio

First of all to select a specific section of code block press Shift + Alt + =, furthermore use the same shortcut to expand your selection block by block.

Expand Selection command in Visual Studio

Use Shift + Alt + – to deselect the selection. Expand Selection command in Visual Studio - Both

Related Tips : 

 

Hope this helps!

 

Geek's Choice

 

Abhijit Jana

Abhijit runs the Daily .NET Tips. He started this site with a vision to have a single knowledge base of .NET tips and tricks and share post that can quickly help any developers . He is a Former Microsoft ASP.NET MVP, CodeProject MVP, Mentor, Speaker, Author, Technology Evangelist and presently working as a .NET Consultant. He blogs at http://abhijitjana.net , you can follow him @AbhijitJana . He is the author of book Kinect for Windows SDK Programming Guide.