06.30 Pasting a Single Selection into a Box Selection

DEFAULT

Shift+Alt+[Up, Down, Left, Right] Arrow

VISUAL BASIC 6

Shift+Alt+[Up, Down, Left, Right] Arrow

VISUAL C# 2005

Shift+Alt+[Up, Down, Left, Right] Arrow

VISUAL C++ 2

Shift+Alt+[Up, Down, Left, Right] Arrow

VISUAL C++ 6

Shift+Alt+[Up, Down, Left, Right] Arrow

VISUAL STUDIO 6

Shift+Alt+[Up, Down, Left, Right] Arrow

WINDOWS

[no shortcut]

COMMAND

Edit.Line[Up, Down]ExtendColumn; Edit.Char[Left, Right]ExtendColumn

VERSIONS

2010

CODE

vstipEdit0008

In this tip, we see how to take a single selection and put it into a box selection. Let’s assume you have the following code:

image with no caption

But you realize that you need change ...

Get Coding Faster: Getting More Productive with Microsoft® Visual Studio® now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.