Beyond Ctrl+Z: Using IntelliJ IDEA Local History for Emergency Recovery
Recover deleted files and undo destructive refactors using IntelliJ IDEA's Local History, a built-in safety net that tracks changes independently of Git.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Recover deleted files and undo destructive refactors using IntelliJ IDEA's Local History, a built-in safety net that tracks changes independently of Git.
Decide how to paginate Hibernate JPQL/HQL queries in IntelliJ IDEA. Compare setFirstResult/setMaxResults, Criteria API, and Spring Data Pageable, then validate with build checks and SQL logs.
Local History automatically snapshots file changes inside IntelliJ IDEA, giving you a recovery path for uncommitted work that Git cannot help with. Here is how to use it and where its limits begin.
JetBrains Live Templates turn repetitive boilerplate into single-abbreviation expansions with variables, scoping, and team sharing. Learn to create a Java main-method template that auto-fills the class name and positions the caret, plus how to export templates for team consistency.
Use JetBrains Gateway to edit and run code on a remote host via SSH while keeping the IDE UI local. Covers prerequisites, connection setup, remote SDK configuration, verification checks and recovery options.
IntelliJ IDEA Local History can recover deleted files and overwritten edits before your next Git commit—but it is not a backup. Learn when to use it and when to commit instead.
Learn how to configure a PostgreSQL data source in IntelliJ IDEA, run queries, edit data directly, and understand the trade‑offs of driver management and performance.
Learn how JetBrains’ Structural Search and Replace lets you refactor repetitive null‑check boilerplate safely across a Java codebase, with a worked example, trade‑offs, and next steps.
Adopt the Gradle Wrapper in IntelliJ to lock the Gradle version across developers and CI. The article covers requirements, trust boundaries, operational checks, failure modes, and when to change the design for reproducible builds.