I'm using PhpStorm 2021.3.2 on Windows 10 and I want to remove the "Expand All" button from the Project View panel.
We can do it (I have the same problem too :D )
Step 1. Open the action and find "Registry"
Step 2. Find the key ide.project.view.expand.all.action.visible
and ide.project.view.replace.expand.all.with.expand.recursively
then turn off them all
Step 3. Close the popup and you will see the result immediately
By "Expand all button", you're very anoying