Hayden Schiff
Hayden Schiff

Reputation: 3330

Hide file extensions from tab labels in PhpStorm

I use PhpStorm for a project that has some very lengthy class names. As a result, not many files can fit in the tab bar above the editor before they get truncated and I have to go into the dropdown.

I was thinking, I could probably at least slightly decrease the impact of this issue if I could get PhpStorm to hide the extensions from the end of the file names (the icons in the tabs make them redundant anyway). Does anyone know a way to make PhpStorm do this? Any help is much appreciated!

Here's a screenshot, showing the tab bar I'm talking about (it's got a big red box around it), and showing what I want to change (I striked through the file extensions).screenshot of PhpStorm demonstrating what I want

Upvotes: 2

Views: 626

Answers (1)

Drudge
Drudge

Reputation: 528

You can change it in the settings:

File, Settings, Label IDE Settings, Editor, Editor Tabs, check Hide file extensions in editor tabs.

Upvotes: 4

Related Questions