Regex replace uppercase with lowercase letters in PhpStorm/Webstorm (Intellij-IDEA)

First open Find and Replace functionality with CTRL + R and then check the boxes Match Case and Regex (and if necessary In Selection): 1. To replace camelCase to snail_case as in in the question: find: ([A-Z]) replace: _\l$1 someThing -> some_thing 2. To replace UPPERCASE words to lowercase words use \L find: (\w*) replace: … Read more

Show .idea folder in PhpStorm project tool window

For .idea there is dedicated registry setting for it as well (it is enabled by default for me, in PhpStorm at very least) Help | Find Action… and look for registry (or via Maintenance Ctrl+Alt+Shift+/ on Windows using Default keymap) Once inside — look for projectView.hide.dot.idea entry Adjust accordingly (before leaving window — ensure that … Read more

Make PhpStorm show changed/modified files in project view

Starting from PhpStorm 2022.1: To highlight folders containing vcs changed files enable: File | Settings | Version Control | Confirmation | Highlight directories that contain modified files in the Project tree Older versions: As mentioned in comment by LazyOne; The Project panel does highlight any VCS changes, but to also highlight all parent-folders of changed-files, … Read more

PHPstorm freezes very often

PHPStorm used to “lag” for me before quite often too… but I managed to fix it in the following ways (It did take a bit of tweaking/experimenting though to get it to work! But now it is blazing fast once again!) Here is what I did to optimize it: 1) If you are on Linux … Read more