Godot Engine – Multi-platform 2D and 3D game engine
classref: add description to ScriptNameCasing enum
BenBlueeeee51ce5655e8a9
diff --git a/doc/classes/ProjectSettings.xml b/doc/classes/ProjectSettings.xmlindex 93b7b14d9b1..f580bc03705 100644--- a/doc/classes/ProjectSettings.xml+++ b/doc/classes/ProjectSettings.xml@@ -1181,10 +1181,10 @@What to use to separate node name from number. This is mostly an editor setting.</member><member name="editor/naming/scene_name_casing" type="int" setter="" getter="" default="2">- When generating scene file names from scene root node, set the type of casing to use in this project. This is mostly an editor setting.+ When generating scene file names from scene root node, set the type of casing to use in this project. This is mostly an editor setting. Uses the same options as [enum ScriptLanguage.ScriptNameCasing].</member><member name="editor/naming/script_name_casing" type="int" setter="" getter="" default="0">- When generating script file names from the selected node, set the type of casing to use in this project. This is mostly an editor setting.+ When generating script file names from the selected node, set the type of casing to use in this project. This is mostly an editor setting. See [enum ScriptLanguage.ScriptNameCasing] for possible values.</member><member name="editor/run/main_run_args" type="String" setter="" getter="" default="""">The command-line arguments to append to Godot's own command line when running the project. This doesn't affect the editor itself.diff --git a/doc/classes/ScriptLanguage.xml b/doc/classes/ScriptLanguage.xmlindex 30ee98e67a0..54ef2a2aeaf 100644--- a/doc/classes/ScriptLanguage.xml+++ b/doc/classes/ScriptLanguage.xml@@ -8,14 +8,19 @@</tutorials><constants><constant name="SCRIPT_NAME_CASING_AUTO" value="0" enum="ScriptNameCasing">+ Used by [member ProjectSettings.editor/naming/script_name_casing] to set the default script name casing to the script language's preferred casing.</constant><constant name="SCRIPT_NAME_CASING_PASCAL_CASE" value="1" enum="ScriptNameCasing">+ Used by [member ProjectSettings.editor/naming/script_name_casing] to set the default script name casing to [code]PascalCase[/code].</constant><constant name="SCRIPT_NAME_CASING_SNAKE_CASE" value="2" enum="ScriptNameCasing">+ Used by [member ProjectSettings.editor/naming/script_name_casing] to set the default script name casing to [code]snake_case[/code].</constant><constant name="SCRIPT_NAME_CASING_KEBAB_CASE" value="3" enum="ScriptNameCasing">+ Used by [member ProjectSettings.editor/naming/script_name_casing] to set the default script name casing to [code]kebab-case[/code].</constant><constant name="SCRIPT_NAME_CASING_CAMEL_CASE" value="4" enum="ScriptNameCasing">+ Used by [member ProjectSettings.editor/naming/script_name_casing] to set the default script name casing to [code]camelCase[/code].</constant></constants></class>