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 all the ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.