使用光标键选择IntelliJ列 [英] IntelliJ Column Selection using Cursor Keys

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

问题描述

是否有可能设置IntelliJ IDEA,以便我可以使用光标键进行列选择,类似于我在Notepad ++,Visual Studio或FlashDevelop中的方式。

Is it possible to some how setup IntelliJ IDEA so that I can column select with the cursor keys similarly to how I might in Notepad++, Visual Studio, or FlashDevelop.

例如,当我输入代码时,我几乎总是通过使用键盘进行导航。在前面提到的IDE中,我可以通过按住 Shift + Alt 然后点击快速选择代码块,将光标扩展到上面的行。然后我可以按 Shift + Alt + Ctrl 并点击快速跳过单词并选择我想要的文本块。

For instance when I'm typing code I almost always do my navigation solely through use of the keyboard. In the IDEs mentioned previously I can quickly select blocks of code by holding Shift + Alt then tapping to extend my cursor across the lines above. I can then hold Shift + Alt + Ctrl and tap or to quickly jump across words and select the chunk of text I want.

在IntelliJ IDEA中我必须使用 Shift + Alt + 插入,即便如此,它也不像在其他IDE或文本编辑器中那样起作用。

In IntelliJ IDEA I have to constantly enable and disable Column Selection Mode using the Shift + Alt + Insert and even then it doesn't quite function as it does in the other IDEs or Text Editors.

任何想法?

推荐答案

您可以使用编辑|列进行列编辑。列选择模式

打开/关闭的快捷方式为替代 + + 插入。您可以使用箭头键导航以选择文本块。

The shortcut to turn it on/off is Alt+Shift+Insert. You navigate with arrow keys to select blocks of text.

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

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