选择多行,在每行开始处使用光标 [英] Select multiple lines with cursors at each line start

查看:55
本文介绍了选择多行,在每行开始处使用光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想选择多行并将光标放在每行的开头.Sublime Text 可以用 Ctrl-Shift-L 做到这一点选择多行

I want to select multiple lines and put a cursor at the beginning of each line. Sublime Text can do this with Ctrl-Shift-L select multiple lines

ctrl + shift + L 然后将光标放在每行的开头

推荐答案

Crtl + Shift + Alt + 向上箭头/down 在 Visual Studio Code 中选择多行.请注意,所选行将位于一列中(如果可能).

Press Crtl + Shift + Alt + Arrow up/down to select multiple lines in Visual Studio Code. Note that the selected lines will be in one column (if possible).

您也可以标记一些行,然后进行这种组合,这样就包含了所有选定的行.

You can also mark some lines and then do this combination and you have all selected lines included.

此外,您可以按住 Alt 并单击您需要的行.这样您就可以选择多条不相邻或在同一列中的行.

Moreover you can press and hold Alt and click the lines you need. This way you can select multiple lines that are not neighbours or in the same column.

这篇关于选择多行,在每行开始处使用光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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