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

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 IntelliJ settings are accessed differently than older versions.

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.

For recent versions on Mac, Configure Editor tabs is under
In the Editor --> General --> Editor Tabs, Under Closing Policy, change the Tab limit as per your requirement

If you need more than 100 tabs:
By default, the maximum number of open tabs that you can allow is
limited to 100. If you want to increase that limit, press Ctrl+Shift+A
or choose Help | Find Action from the main menu. In the popup that
opens, start typing Registry, select the corresponding item and press
Enter. In the Registry dialog, search for the ide.max.editor.tabs key
and change its value.

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.

Related

IntelliJ IDEA current file tab closes on opening a different file

Every time I open a new file (single click), the existing file closes by itself. It started happening in the latest version. How do I fix this?
In the Project tool window, click the three vertical dots and uncheck Enable Preview Tab option (which is on by default)

How to set default show line number and white space in PhpStorm 2016.1

How to make line number visible in PhpStorm 2016.1?
I can't find setting in preferences.
Use CMD+SHIFT+A (on Mac) to search for actions across the IDE, including the preference pane. In this instance, typing "Line Numbers" into the search box takes you right to the preference pane for that option, with it highlighted nicely for you (http://c.hock.in/17c45d.png). This works for any settings you can't find, or want to find quickly.
Preferences if your are on Mac | Editor --> (General) --> Appearance --> Show line numbers.
File->Setting->Editor->Appearance->show line numbers for Windows users
1.
PhpStorm 2016.1 for Active Editor only
Main Menu:
View -> Active Editor -> Show Line Numbers
===========================================
2.
PhpStorm 2016.1 for all tabs
Main Menu
File -> Settings:

Intellij - what is this strange selection, and how do I turn it off?

See the screenshot below to see what I mean. Basically, Intellij only highlights the box I draw with the cursor, but leaves the rest of the editor untouched. I have no idea why it happens, and the only way to resolve it for now is to close and reopen the editor. I have observed the same behavior on a Linux box and a MacBook, both when editing Java and PHP files, so I am not sure it's a bug.
The desired behaviour is standard row selection, i.e. highlight all rows which I drag the cursor over.
I think you have enabled 'column selection'.
Option can be toggled via these methods:
Menu Bar -> Edit -> Column selection mode
Document Body -> Right Click -> Column selection mode
Keyboard Shortcut -> ALT + SHIFT + INSERT
The column select mode is enabled, use Alt+Shift+Insert to enable or disable this mode.
Shift-command-8 to toggle it back and forth on OSX.

In Intellij, can I choose which log tab is selected by default when I start an appserver?

I'm using glassfish, but that may not matter. When I start glassfish, I'd like it to open up the Glassfish Log that I have highlighted here
But it always defaults to the Output tab instead so I always have to do that extra click. Not a huge deal but I rarely care about that tab. I'm using the latest Intellij-IDEA 12
Right click on the tab, select Focus on Startup in the menu.

Aptana won't save editor preferences

I've got a little (big) problem in Aptana. Whenever I try to edit my settings for a specific editor, I click "Apply", then "OK", but my preferences don't get saved, and if I open the settings again, the default ones are shown. What might be causing the problem?
I'm using Ubuntu 11.04 with Aptana build 3.0.4.201108101506.
I'm looking forward to reading your suggestions.
Alessandro Desantis
EDIT: The situations changed with version 3.0.5. Now, YAML editor's preferences get erased when closing the settings window as before, while others editors' ones are overridden with defaults when closing the IDE... This is very strange.
open preferences (settings)
click General
click editors
click text editors
change displayed tab width to 4
check insert spaces for tabs
click apply
click ok
open preferences (settings)
click aptana studio
click editors
click YAML (or desired editor)
change tab policy to use spaces
change tab size to 4
this worked for me