PyCharm Maximum amount of opened tabs

February 24, 2024

Are you ever stuck with too many windows open in PyCharm? Thank god there’s a simple fix for that.

I am definitely one that does not like when I have too many tabs opened that are not really related to what I’m working on at the moment. It makes it a lot harder to keep track of the relevant files, and in general makes it hard to get a quick overview of what I’m doing.

Therefore, whether I’m using PyCharm or VSCode, I like to set up the limit for the amount of tabs that can be opened at once.

Prerequisites

  • PyCharm installed

Steps to set VSCode max for opened tabs

  1. Open Settings using CTRL + , on Windows or ⌘ + , on Mac
  2. Search for Tab limit
  3. Open Editor -> General -> Editor Tabs
  4. At this point, set the Tab Limit to the amount of tabs that you want open. I prefer to have it on 5 on a 14-inch Macbook Pro, since otherwise it clutters the window.
  5. Set the When tabs exceed the limit to whichever option you want.

And from now on, remember to use the ⌘ + Shift + O to quickly open new tabs.

Your settings should look something like this:

PyCharm settings for maximum amount of tabs


Profile picture

Written by An anonymous coder who lives and works building useful things. Mostly focusing on Django, Vue and overall Python examples.