Playing with PhpStorm's tabs (3)
Merge tabs
We mentioned it in the chapter [PhpStorm Usage Memo (2)](1) In a separate The window opens the tab, which is the function of detaching the tab into a new window.
Here, we want to talk about merging separated tabs back, or merging multiple separated tabs into a separate window. In general, the operation method is exactly the same and very simple:
Drag the tab you want to merge (note: drag the tab, not the title bar of that window), and then Drag the tab into the window that needs to be merged and release the left mouse button.
Then it's OK.
In addition, in the separated tab window, you can also split the windows within the window just like the main window.
Moving tabs between split windows
The windows are split, which means there is a problem of needing to switch tabs between windows. To achieve this effect, you only need to drag the target tab to the desired window. Note that you use the mouse to drag the tab label.
In addition, you can also hover the mouse over the tab label, then right-click the mouse, and select Move To Opposite Group in the pop-up menu to move the tab.
Change tab position
By default, tabs are displayed above the editing area. Since it is said to be by default, it means that the position of the tab can be adjusted.
There are two ways to change the position of the tab, both are relatively simple.
Method 1: Make modifications in settings
Open the Setting dialog box and click Editor -> General -> Editor Tabs. At this time, you can see that there is a Tab Appearance -> Placement option. Select Top, Left, Right, Bottom or None in the drop-down option to make the corresponding settings.
Method 2: Modify in the right-click menu
This method is simpler. Hover the mouse over a tab, then right-click the mouse. There is a Tabs in the pop-up menu. Placement menu item, move the cursor to this menu item, and some information will pop up. I believe that after you see the pop-up message, you will immediately understand how to operate it.
The above is the content of PhpStorm usage memo (6). For more related content, please pay attention to the PHP Chinese website (m.sbmmt.com)!