Add rule for Godot temp extension library copies on Windows

As of Godot 4.2 the editor has a Windows-specific workaround for loading extension libraries.
Before the extension library is loaded the Godot editor creates a temp copy of the extension library `.dll` file with a `~` prefix (e.g. `example.dll` => `~example.dll`).
When the extension library is unloaded the Godot editor deletes the temp copy.
These copied `~*.dll` files are temporary and should be ignored.

References:

Godot 4.2 changelog
https://godotengine.org/article/godot-4-2-arrives-in-style/#gdextension

Godot PR #80188 GDExtension: Copy DLL to a temp file before opening
https://github.com/godotengine/godot/pull/80188
This commit is contained in:
Noah Greer 2026-02-20 19:52:32 -08:00
parent b4105e73e4
commit bf4440e850

View File

@ -1,3 +1,6 @@
# Godot 4.2+ specific ignores
~*.dll
# Godot 4+ specific ignores
.godot/
.nomedia