Inti Inti - 1 year ago 151
Python Question

Moving between underscore separated words in PyCharm with Alt + ←/→

In PyCharm when I move between words with the

Alt + ←/→
shortcut it moves the cursor between whitespace separated words. How can I make it move the cursor between

Answer Source

The option is not obvious but if I tick Editor -> General -> Smart Keys -> Use "CamelHumps" words then when moving between words with Alt + ←/→ I can step between underscore separated words rather than just space separated "words". The same works for camelCase words obviously.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download