How do I keep IntelliJ from closing my Editor Tabs automatically?

后端 未结 2 1386
一整个雨季
一整个雨季 2021-01-30 15:34

When opening more than 10 Editor Tabs, IntelliJ automatically closes my least used Tab each time I open a new Tab.

How can I increase this limit?

More recent Int

相关标签:
2条回答
  • 2021-01-30 16:11

    Change the Tab Limit under the Tab Closing Policy settings.

    Open your IntelliJ settings: Select File -> Settings -> Editor -> General -> Editor Tabs.

    Look for Tab Closing Policy -> Tab Limit and change the value to a higher integer.

    You can also select to either close non-modified files first or less frequently used files first once your tab limit has been reached.

    0 讨论(0)
  • 2021-01-30 16:18

    Adding an answer to help anyone else with a similar problem. OSX+Catalina on JetBrains/PyCharm was having closing all tabs when I lost focus on the application. When I came back the "Synchronization" action happened (top right circle arrow spins) and all windows are reset (many closed as a result). My fix was to disable in the settings. Appearance & Behavior > System Settings > Disable everything under the "Synchronization" section. You may need to seek out other "sync" options in settings.

    0 讨论(0)
提交回复
热议问题