Search code examples
navigationphpstorm

PHPStorm jump over words and break at underscores


I'm wondering if there's a quick, convenient, way to jump over words in a class declaration and break on the underscore rather than the entire phrase e.g:

class My_Example_Class_Goes_Something_Like_This extends Another_Class_Name_Thats_Separated_By_Underscores { }

alt + left/right arrows works great for jumping words but any idea how pstorm can be customised to jump over class names separated by underscores?


Solution

  • Settings/Preferences | Editor | General | Smart Keys | Use "CamelHumps" words

    enter image description here

    P.S. Please note that this will also work for NameWithNoUderscoresButWithCapitalLetters.