If you’re like me, you have probably had this happen. You go to click on one of the many tabs you have open in PHPStorm, only to accidentally click the X, and close it. ARGH!
Today I found a way to alleviate that pain. You can turn off the X!
- Under Preferences, search for Editor Tabs
- Locate Close button position:
- Set it to None
Now, to close a tab, you must either hit the keyboard shortcut, or right-click it. Either of those will be a deliberate action.
PHPStorm – Stop those accidental tab closures!