WebStorm Maximum amount of opened tabs

October 20, 2026

Are you ever stuck with too many tabs open in WebStorm? 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.

The setting is the same as in PyCharm, since both are JetBrains IDEs. If you also use VSCode, here’s how to do it there.

Prerequisites

  • WebStorm installed

Steps to set WebStorm max for opened tabs

  1. Open Settings using CTRL + Alt + S on Windows or ⌘ + , on Mac
  2. Search for Tab limit
  3. Open Editor -> General -> Editor Tabs
  4. 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 the number of opened tabs exceeds the limit to whichever option you want. Close non-modified files first is a good default.

And from now on, remember to use ⌘ + Shift + O (CTRL + Shift + N on Windows) to quickly open files.


Profile picture

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