ResDB is a Godot addon that adds a panel with which you can automatically create a static script that holds references to all the resources in a specified folder.
It works with both C# and GDScript, and the user can choose for which language they want the script to be generated.
Links
- - Download and source code on Github.