首页 > 解决方案 > 如何在 Visual Studio 代码中关闭“列框选择”?

问题描述

我似乎无法关闭框/列选择。换句话说,如果我尝试跨多行进行选择,我只会得到一个框选择,这与在添加行时选择整行的通常行为相反。

我在 Mac 上使用 1.48.2 版本。

我一定是无意中按下了 option+shift 或其他类似的代码,现在我只能选择框。我已经查看了我的键盘快捷键,但我不知道要查找什么...

不幸的是,通过谷歌或 SE 搜索解决方案只会产生如何打开而不是关闭的结果!我不知道相反的模式是什么。“行选择”似乎只是选择当前行,而不是跨多行选择的整行。

当前行为的示例。我希望选择整行“宇宙飞船...”。

标签: visual-studio

解决方案


Just found the answer myself looking for something else. There is a "Text Editor" setting called "Editor: Column Selection" that controls this. The default is off, but I must have turned it on somehow without realizing it. Thanks to anyone who may have taken time to read this....


推荐阅读