Navigate camel humps in source code

I'm sure there's any easy way to do this, but for some reason I cannot find it (either in the keymap or in the keyboard shortcuts PDF).
I use a Mac, and I can use Opt+(left) or (right) arrow keys to jump to the next word (separated by space), but how do I navigate to the next hump in a word with camel humps? e.g., thisIsAnExample   is there a way to navigate to "Is" "An" "Example" ?

3 comments
Comment actions Permalink

I'm waiting for the latest early access ("EAP") build to download, and have uninstalled my previous version, so I can not check.
However, I think there's an option called "CamelHumps navigation" in the preferences.

Note that you can search the preferences (Ctrl-Als-S) dialog for a term, for example "camel" ;)

0
Comment actions Permalink

thanks for the reply!
You answered it. I did Ctrl+Alt+S (Command + , for mac) and searched for Camel Humps. I slected "Use CamelHumps words" in the editor->smart keys section.

Thanks!!

0
Comment actions Permalink

Indeed, that's the setting!

You probably know this already, but CamelHumps work (almost?) everywhere in IDEA: code completion, "SpeedSearch" in the Ctrl-F12 dialog, Ctrl-N/Ctrl-Shift-N/Ctrl-Shift-Alt-N, etc, etc. :)

0

Please sign in to leave a comment.