Warning: include(D:wwwrootiphp8wwwroot): failed to open stream: Permission denied in D:wwwrootiphp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 50
Warning: include(): Filename cannot be empty in D:wwwrootiphp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 50
Warning: include(): Failed opening '' for inclusion (include_path='.;C:phppear') in D:wwwrootiphp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 50
Warning: in_array () expects parameter 2 to be array, boolean given in D:wwwrootipp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 51
Play with PhpStorm’s tabs (2)
Lock tabs
PhpStorm can limit the number of open tabs, as you can know from the previous memo. When the number of open tabs reaches the limit, each time a new tab is opened, an originally opened tab will be automatically closed.
The closing strategy automatically selects tabs to close based on the closing strategy (such as closing the least used). The default tab limit is 10.
In this case, sometimes in order to ensure that a special tab is not closed, you can lock this tab. In addition, when you lock at least one tab, a Close All But Pinned menu item will appear in the menu item for closing the tab. Through this option, you can close all options except the locked tab. stuck.
Steps to lock a tab:
Switch to the tab you want to lock
Right-click the tab and select the Pin Tab option in the drop-down menu
When you lock a tab, a special icon similar to a pushpin will appear on the tab, indicating that the tab has been locked.
Steps to Unpin Tab:
Switch to the tab you wish to unlock
Right-click the tab and select the Unpin Tab option in the drop-down menu
Split and unsplit the editing interface
PhpStorm supports splitting the current editing interface into multiple independent containers, and each container can contain multiple tabs.
The editing interface settings and the divided editing container can be divided horizontally or vertically, thereby dividing the original container into two new containers, left and right or upper and lower. For friends who like to group the tabs in the current various types of editing, with this function, you can freely realize the grouping you want. At the same time, the split editing interface also realizes the function of quickly editing the content in different tabs without switching tabs.
Of course, if you want to do this without feeling aggrieved, the monitor must be large enough, haha.
Steps to split the editing interface:
Select the tab you want to split into a new container
Right-click the tab and select Split Vertically from the pop-up drop-down menu ( Vertically split) or Split Horizontally
Steps to change the split direction
Sometimes, after we split the editing interface, we may need to change the split direction. Make adjustments. At this time, there is no need to foolishly cancel the original division and then re-divide it. In fact, you only need to right-click on the tab and select Change Splitter Orientation in the drop-down menu.
Steps to cancel splitting
Select the tab you want to cancel splitting
Right-click the tab, and then select one of the following menus from the pop-up drop-down menu.
If you just want to cancel the current split window, select Unsplit
If you want to cancel all split windows, select Unsplit All
The above is the PhpStorm usage note (five ), please pay attention to the PHP Chinese website (m.sbmmt.com) for more related content!