Skip to content

A local code history plugin for Godot, similar to those found in many IDEs.

License

Notifications You must be signed in to change notification settings

jaydensipe/GD-Local-History

Repository files navigation


✨ Currently supports: Godot 4.3+

Features 📃

  • View previous versions of a script file 🔍
  • Triggers when a script file is saved 📜
  • Specify folder location where previous versions will be saved (default is .gd_local_history in res://) 📂

Overview 📌

Similar to the feature found in Visual Studio Code (and many other IDEs), GD Local History keeps a snapshot of each previous version of a script, in the event you need to view past iterations.

🎯 Upon activating the plugin, it is advised to add the specified save file path folder to your .gitignore (default is .gd_local_history/)


Settings ⚙️

GD Local History comes with a few customizable settings located under Project Settings -> General -> Local History.

*Advanced Settings must be enabled.

  • Allow Global Directory*: This allows the use of global directories when picking a file path in the option below.
  • Save File Path: Specifies location to store script snapshots (defaults to .gd_local_history/ in res://).

Download & Installation 🚀

A.

  1. Search "GD Local History" in Godot Asset Lib and install.
  2. Enable plugin and enjoy!
  3. Recommended: Add save file path (default is .gd_local_history/) to your .gitignore. 🎯

B.

  1. Download from main or latest release.
  2. Drag the addons folder into your Godot project.
  3. Enable plugin and enjoy!
  4. Recommended: Add save file path (default is .gd_local_history/) to your .gitignore. 🎯