You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Allow configuring the script filename casing rule
Defaults to "Auto", which detects the casing based on the preference of the currently selected language (C# for example prefers PascalCase whereas GDScript prefers snake_case).
This commit is contained in:
@@ -405,6 +405,10 @@ bool CSharpLanguage::supports_builtin_mode() const {
|
||||
return false;
|
||||
}
|
||||
|
||||
ScriptLanguage::ScriptNameCasing CSharpLanguage::preferred_file_name_casing() const {
|
||||
return SCRIPT_NAME_CASING_PASCAL_CASE;
|
||||
}
|
||||
|
||||
#ifdef TOOLS_ENABLED
|
||||
struct VariantCsName {
|
||||
Variant::Type variant_type;
|
||||
|
||||
Reference in New Issue
Block a user