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

查看:47
本文介绍了使用光标键的 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 + Insert 不断启用和禁用列选择模式,即使如此它也不会'与在其他 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.

有什么想法吗?

推荐答案

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

打开它on/off的快捷方式是Alt+Shift+Insert.您可以使用箭头键导航以选择文本块.

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天全站免登陆