PhpStorm 2018.2 Help

Editor Tabs

File | Settings | Editor | General | Editor Tabs for Windows and Linux
PhpStorm | Preferences | Editor | General | Editor Tabs for macOS
Ctrl+Alt+S settings


Use this page to configure the appearance of the editor tabs and tab headers, specify their positioning on the screen, and define the tab closing policy.

ItemDescription
Appearance
PlacementUse the drop-down list to set the location of editor tabs. If you select None, no tabs will be displayed, and any new file will open in the current editor.
Show tabs in one rowSelect if you want tab headers to be displayed in a single row. As a result, some tab headers may become invisible. To override this, use the Window | Editor Tabs | Show All Tabs.

If this option is selected, the sorting in alphabetical order mode becomes available for the top and bottom placement of the editor tabs.

Hide if there is no spaceIf this checkbox is selected, PhpStorm shows as many tabs as there fit into the current PhpStorm frame; the rest are hidden under the hide tabs drop-down.

This checkbox becomes available when Show tabs in single row is selected.

Show file extensionSelect if you want file extensions to be displayed in editor tabs.
Show directory for non-unique file namesIf this checkbox is selected, the editor tabs will show the file name together with the parent directory name if the file name is not unique.
Mark modified Select to mark modified files with an asterisk asterisk marker.
Show full path on mouse hoverSelect to be able to see complete file paths in a tooltip.
Close button position Select where you want the closing button icons actions closeNew to be displayed.
Closing Policy
Tab limitSpecify the maximum number of editor tabs to be displayed.
When tabs exceed the limitIn this area, specify which editor tab should be closed when the limit is reached and the user attempts to open a new file:
  • Close unchanged:PhpStorm examines the tabs in the order they were opened and closes the first tab that has not been modified.
  • Close unused:PhpStorm closes the tab with the less frequently modified content.
When the current tab is closed, activate:Specify which editor tab to activate when closing the current tab.
Open declaration source in the same tab When you navigate to a method, class or a variable, the source file that contains their declaration will replace the current tab if there are no changes.
Last modified: 28 June 2018

See Also

Procedures: