What is the command for block select in Visual Studio 2008

前端 未结 2 1302
野的像风
野的像风 2021-02-20 09:07

In visual studio you can select a block of text by holding down Alt when when selecting text with the mouse. This is very useful for selecting a column of data or tex

2条回答
  •  一个人的身影
    2021-02-20 09:12

    Right after I submitted this I was looking through the keyboard shortcuts and found the commands Adrian mentioned. By looking at how these are mapped and playing around a bit more I figured out how it is setup in the default profile for Team Suite.

    To start a block select you press Alt + Shift + Home or Alt + Shift + End. This highlights to the end of the line or the start of the line depending on what you pressed.

    Thereafter Shift + arrow and Ctrl + Shift + arrow, can be used to expand the region as desired.

提交回复
热议问题