首页 > 解决方案 > IntelliJ - 在文本“FirstSecondThirdFourth”中选择一个单词

问题描述

当键盘指针放在单词“Second”(或单词“Second”的开头 - 在“t”和“S”之间)时,如何在文本“FirstSecondThirdFourth”中选择单词“Second”?有什么捷径吗?更改函数或变量的名称时会非常有帮助。

标签: intellij-ideakeyboard-shortcuts

解决方案


  1. 确保在 Settings(Preferences) | 中启用了使用“CamelHumps”单词选项。编辑 | 一般 | 智能钥匙
  2. 使用主菜单 | 编辑 | 扩展选择操作和相应的快捷方式。

推荐阅读