We participate in the Amazon Service LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com

PHPStorm – Stop those accidental tab closures!

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!

  1. Under Preferences, search for Editor Tabs
  2. Locate Close button position:
  3. 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.