The power of Vim strikes again.
ideavim and PhpStorm
The ideavim plugin for PhpStorm is a powerful addition to the IDE but it can work wonders when tapping into the concise, although cryptic, power Vim can pack. Specifically PhpStorm offers the possibility to create, for a class protected or private properties, getters and setters in a simple swoop; convenient.
While the rest of the PHP world thrives in the camelCase notation WordPress uses snake_case notation for any function, variable or class name; I’m not fanatic about coding standards when that’s decreasing coding speed but I like to keep the casing consistent.
To be able to tap into the possibility offered by PhpStorm and stick to snake_casing naming convention the following shortcut will allow for instant transformation from camelCase to snake_case:
While editing intentions would be easier that’s still a working solution.