visual-studio-code - 如何在 Visual Studio Code 中选择一行?

标签 visual-studio-code editor keyboard-shortcuts

使用 Microsoft 的 Visual Studio Code,如何选择一行代码? (相当于 Mac 上 Atom 或其他 IDE 的 Cmd+L)

我正在寻找的命令是什么? (例如 editor.action.copyLinesDownAction )

这很令人困惑,因为 Cmd+A 和 Cmd+D 等其他选择快捷方式与我以前的 IDE 中的相同。

最佳答案

在 1.32 之前的 VS Code 版本中,默认情况下它是 Cmd+I。

从版本 1.32 开始是 Cmd+L。

您可以通过搜索 expandLineSelection 在键盘快捷键中更改它。 .

关于visual-studio-code - 如何在 Visual Studio Code 中选择一行?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50406964/

相关文章:

eclipse - 以编程方式打开 eclipse 编辑器

jquery - e.which : Non numeric comparison

visual-studio-code - 如何从 Visual Studio Code 中先前打开的文件列表中进行选择?

typescript - VS 代码和增量 Typescript 编译

xcode - 编辑器无法在 Xcode 中打开

editor - 如何在 Sublime text 中获取 Latex 项目的大纲 View ?

python - 在 ipython 5.0+ 中按 Ctrl-C 时在屏幕上留下不完整的行

objective-c - 上下文信息的快捷方式是什么?

javascript - 在 typescript 中,拥有像这样的对象属性 "{ [x: string]: any }"意味着什么?

javascript - vsshaxe - 如何在浏览器中调试 Javascript 目标