How do I select individual words of a camelized word in IntelliJ IDEA

后端 未结 3 1269
迷失自我
迷失自我 2021-01-30 15:27

What is the shortcut in IntelliJ IDEA to move across or select individual words of a camelized word? Lets say I have aLongMultiWordVariableName, I want to be able to move the cu

3条回答
  •  一生所求
    2021-01-30 16:04

    Yes, the answer of yalestar is correct. Settings > Editor > Smart keys > Use "CamelHumps" words

    However, here is something that can be usefull to know: If you want to be able to select the whole word by double-click on it, unselect the "Honor 'CamelHumps' words settings when selecting on double click" in Settings > Editor.

提交回复
热议问题