PyCharm: Turning selection to multiple cursors per line(PyCharm:将选择变成每行多个光标)

本文介绍了PyCharm:将选择变成每行多个光标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Sublime Text 具有此功能,您可以在其中选择文本并使用(多个)光标开始编辑每一行:

Sublime Text has this functionality where you can select text and start editing each line with a (multiple) cursor:

是否有 PyCharm 等价物?

Is there PyCharm equivalent?

推荐答案

此功能已在 2020 年 6 月.

它叫做Add Carets to Ends of Selected Lines",默认绑定到Alt + Shift + G.

It's called "Add Carets to Ends of Selected Lines", and is bound to Alt + Shift + G by default.

这篇关于PyCharm:将选择变成每行多个光标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!