visual-studio - 如何在 Visual Studio 代码中关闭“列框选择”?
问题描述
我似乎无法关闭框/列选择。换句话说,如果我尝试跨多行进行选择,我只会得到一个框选择,这与在添加行时选择整行的通常行为相反。
我在 Mac 上使用 1.48.2 版本。
我一定是无意中按下了 option+shift 或其他类似的代码,现在我只能选择框。我已经查看了我的键盘快捷键,但我不知道要查找什么...
不幸的是,通过谷歌或 SE 搜索解决方案只会产生如何打开而不是关闭的结果!我不知道相反的模式是什么。“行选择”似乎只是选择当前行,而不是跨多行选择的整行。
当前行为的示例。我希望选择整行“宇宙飞船...”。
解决方案
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....
推荐阅读
- css - 自定义光标 CSS 默认值和指针
- css - 在 MUI v5 中更改抽屉的颜色
- python - 访问 asyncio.Queue 中的所有元素而不删除它们
- laravel-livewire - 如何将用户名添加到直接发送的 nexmo 短信
- macos - 使用域名的 docker login 在同一 LAN 中的 Mac 上不起作用,但在其他设备上不起作用
- reactjs - 使用 React 测试库 + Redux Toolkit Dispatch 测试组件
- c++ - CMake - 为文件夹中的所有 *.cpp 文件创建可执行文件
- python - 应用程序下载后启动时出现 py2app 错误
- json - 如何创建一行中每一列的Json对象
- c# - 如何获得随机数的平均值