在Visual Studio 2008中用于块选择的命令是什么 [英] What is the command for block select in Visual Studio 2008

查看:301
本文介绍了在Visual Studio 2008中用于块选择的命令是什么的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在Visual Studio中,当使用鼠标选择文本时,可以通过按住 Alt 来选择文本块.这对于选择一列数据或文本而不是整行非常有用.

在Visual Studio 2003-2005中,可以通过按住 Alt + Shift 以及箭头键来执行此操作,但是键盘选项在VS2008中不再起作用. /p>

有人可以告诉我编辑器命令来分配给键盘快捷键吗? 这个键盘快捷键是否只是在VS 2008中移到其他地方了?

解决方案

提交完此文件后,我正在浏览键盘快捷键,并找到了Adrian提到的命令.通过查看这些内容的映射方式和更多内容,我弄清楚了如何在Team Suite的默认配置文件中对其进行设置.

要开始选择一个块,请按 Alt + Shift + Home Alt + Shift + 结束.这会根据您所按的内容高亮显示到行尾或行首.

此后, Shift + 箭头 Ctrl + Shift + 箭头用于根据需要扩展区域.

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 text as opposed to the entire line.

In Visual Studio 2003-2005 this operation could be performed by holding Alt + Shift in conjunction with the arrow keys but the keyboard option no longer works in VS2008.

Can anyone tell me the editor command to assign to a keyboard shortcut? Is this keyboard shortcut just moved to something else in VS 2008?

解决方案

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.

这篇关于在Visual Studio 2008中用于块选择的命令是什么的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆