CodePudding user response:
The option has been moved to advanced settings:
CodePudding user response:
Change Local History retention period
By default, Local History is configured to store revisions for the last 5 working days (that is, days when the file was modified).In the Settings/Preferences dialog (Ctrl Alt S), go to Advanced Settings.
In the IDE section, provide the desired retention period value in the Duration of storing changes in Local History field.
Alternatively, you can pass the localHistory.daysToKeep parameter as a Java property by configuring JVM options. For example, to set retention to 30 days, add the following line to the JVM options file:
-DlocalHistory.daysToKeep=30