简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM