From cd1c84df28057784ec698373d5e58aea64c33d54 Mon Sep 17 00:00:00 2001 From: Max Hilbrunner Date: Tue, 6 Feb 2024 17:10:48 +0100 Subject: [PATCH] Merge pull request #8910 from skyace65/ScriptTemplates Add info on finding script templates folder (cherry picked from commit 45bb2104342684eaf431392b3063dfe23ac7d8ba) --- tutorials/scripting/creating_script_templates.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tutorials/scripting/creating_script_templates.rst b/tutorials/scripting/creating_script_templates.rst index 6fc171107..0cea18c2f 100644 --- a/tutorials/scripting/creating_script_templates.rst +++ b/tutorials/scripting/creating_script_templates.rst @@ -33,6 +33,12 @@ templates are determined per each OS: - Linux: ``$HOME/.config/godot/script_templates/`` - macOS: ``$HOME/Library/Application Support/Godot/script_templates/`` +If you're getting Godot from somewhere other than the official website, such +as Steam, the folder might be in a different location. You can find it using +the Godot editor. Go to ``Editor > Open Editor Data/Settings Folder`` and it +will open a folder in your file browser, inside that folder is the +``script_templates`` folder. + If no ``script_templates`` is detected, Godot will create a default set of built-in templates automatically, so this logic can be used to reset the default templates in case you've accidentally overwritten them.