Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does pinning a tab do in PhpStorm?

I've noticed you can pin a tab on any file in PhpStorm, what does it do? It seems I can just close the tab anyway.

like image 585
Luke Brown Avatar asked Nov 07 '16 15:11

Luke Brown


People also ask

How do I use multiple tabs in IntelliJ?

Split a single file into multiple tabsRight-click a tab and choose Split Right or Split Down. Choose Window | Editor Tabs | Split Right/Split Down from the main menu.

How do I close tabs in IntelliJ?

Go in Settings >> Keymap >> Main menu >> Other >> [Close Active Editor] and change to Ctrl+W. Save this answer.

How do I find a file in PhpStorm?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.


1 Answers

tl;dr: it's use to stop the file from auto closing.

  1. PhpStorm can limit the number of tabs you have opened at once.
  2. When it reaches it's limit it will close tab accordingly (by default this is 10 in your settings)
  3. To stop selected tabs from been closed, you can pin the tabs.
  4. Probably the most useful feature - When you go to right click on a tab, close all, it will not close the pinned tabs.

Summary from the PhpStorm docs on this.

like image 188
Luke Brown Avatar answered Sep 24 '22 01:09

Luke Brown