Warning: include(../../../ips.php): failed to open stream: No such file or directory in D:wwwrootiphp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 50
Warning : include(../../../ips.php): failed to open stream: No such file or directory in D:wwwrootiphp8wwwrootcontenttemplatesHyPurpleecho_log.php on line 50
Warning: include(): Failed opening '../../../ips.php' 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 (1)
Configure tab behavior
Adjustments The maximum number of tabs allowed to be opened
Open the editor settings option: Settings -> Editor -> General -> Editor Tabs.
Under the Tab Closing Policy option, there is a text box called Tab limit:, through which you can set the maximum number of tabs that are allowed to be opened.
If set to 1, tab functionality will be disabled. If you want the open tab to never be automatically closed by the software, set the limit to a value that is impossible to open (such as: 999)
Of course, if you set the limit to 1, there is a small Small flaws. Usually at this time, we all hope that the tab will not be displayed. In fact, this cannot achieve the effect we want. The lovely PhpStorm also provides us with another feature.
In the same setting interface, there is a Tab Appearance option: Placement to achieve the effect we want above. That is to select: None in the drop-down option.
Now that Placement is mentioned, we have to talk about the location where the settings tab is displayed.
Set the position where the tab is displayed
In the Plaement option mentioned above, in addition to None to hide the tab, there are several options: Top, Left, Bottom, Right. These four options are to display the tabs at: top, left, bottom, and right.
Quickly open recent files
The habit of some friends is to disable tabs. After disabling tabs, you will inevitably face the problem of opening recently opened documents again (of course, Friends who do not disable tabs will also encounter it, but it is not so urgent, so even if you do not disable tabs, you can learn about it). No need to worry, PhpStorm provides another thoughtful feature. Through the shortcut key Ctrl + E, you can see that the software pops up a dialog box of "Rencent Files". If you have already opened a file, you will see that the document you have recently opened has been included in the dialog box. Listed.
At the same time, you will also notice that menus such as Project and Database are listed on the left side of the dialog box. By clicking on these menus, you can quickly enter the corresponding toolbar. So, PhpStorm is really considerate, right?
Switching tabs
There is an inevitable problem with multiple tabs, switching tabs. The conventional method is to click the corresponding tab directly with the mouse. However, it is much more than this method.
Right-click on the tab and use Select Next Tab or Select Previous Tab in the drop-down menu to switch between tabs.
Use the shortcut keys: Alt + Left Arrow Key or Alt + Right Arrow Key to switch between tabs.
Open the Switcher dialog box through the shortcut key: Ctrl + Tab (note that after pressing the key combination, do not release the Ctrl key, otherwise the selected tab in the dialog box will be opened directly). At this point, by pressing the Tab key, you can select the tabs in the dialog box in a certain order. You can also use the up, down, left and right keys to directly navigate to the tab you want to open (careful friends must have discovered that this dialog box also provides menus for some commonly used toolbars). After selecting the corresponding tab, release the Ctrl key, and the corresponding tab will open immediately.
If there are too many recently opened tabs, these tabs may not be fully displayed in the dialog box (that is, the dialog box is too small). At this time, you can hold down the Ctrl key and then press the Shift key. At this time, you can adjust the size of the dialog box through the arrow keys. Of course, if you determine from the beginning that the dialog box may not be fully displayed, you can also directly press the Ctrl + Shift + Tab key combination. At this time, you can directly open a dialog box that can be resized.
Remember to release the Shift key if you want to select a tab using the arrow keys.
The above is the content of PhpStorm usage memo (4). For more related content, please pay attention to the PHP Chinese website (www.php.cn)!