Which setting controls how long JetBrains Local History keeps revisions?
0 reputation · 01 May 2022, 10:54 UTC
Goal
The goal is to determine a reliable method for configuring the retention period of JetBrains Local History revisions so that critical changes are preserved long enough for recovery.
Context
Local History automatically records file revisions on each save, IDE rebuild, or VCS operation. The IDE allows revisiting past states via a diff view, but the documentation does not expose a clear UI element or documented setting for the maximum age of stored revisions.
Uncertainty
Because the retention policy is not explicitly documented, users cannot confidently decide how many days or how much disk space to allocate for Local History. This uncertainty may lead to premature deletion of useful revisions or unnecessary disk consumption.
Questions
- Which configuration option or file controls the maximum retention period for Local History entries in JetBrains IDEs?
- Is there a way to view the current retention setting within the IDE’s UI or via a command‑line flag?
- Does the retention policy apply uniformly across all project files, or can it be scoped per project or file type?