-
-
Save the-unrealist/861fdc90c0e13b88c46be68a6418b80d to your computer and use it in GitHub Desktop.
editorconfig for Unreal Engine
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root = true | |
############################################################################### | |
# Global rules | |
############################################################################### | |
[*] | |
indent_style = space | |
indent_size = 4 | |
end_of_line = lf | |
charset = utf-8 | |
trim_trailing_whitespace = true | |
insert_final_newline = true | |
############################################################################### | |
# Unreal Engine target files | |
############################################################################### | |
[*.cs] | |
# CA1050: Declare types in namespaces | |
dotnet_diagnostic.CA1050.severity = none | |
# CA1825: Avoid zero-length array allocations | |
dotnet_diagnostic.CA1825.severity = none | |
############################################################################### | |
# Unreal Engine rules | |
############################################################################### | |
[*.{cpp,h}] | |
# Naming convention rules | |
cpp_naming_rule.aactor_prefixed.symbols = aactor_class | |
cpp_naming_rule.aactor_prefixed.style = aactor_style | |
cpp_naming_rule.swidget_prefixed.symbols = swidget_class | |
cpp_naming_rule.swidget_prefixed.style = swidget_style | |
cpp_naming_rule.uobject_prefixed.symbols = uobject_class | |
cpp_naming_rule.uobject_prefixed.style = uobject_style | |
cpp_naming_rule.booleans_prefixed.symbols = boolean_vars | |
cpp_naming_rule.booleans_prefixed.style = boolean_style | |
cpp_naming_rule.structs_prefixed.symbols = structs | |
cpp_naming_rule.structs_prefixed.style = unreal_engine_structs | |
cpp_naming_rule.enums_prefixed.symbols = enums | |
cpp_naming_rule.enums_prefixed.style = unreal_engine_enums | |
cpp_naming_rule.templates_prefixed.symbols = templates | |
cpp_naming_rule.templates_prefixed.style = unreal_engine_templates | |
cpp_naming_rule.general_names.symbols = all_symbols | |
cpp_naming_rule.general_names.style = unreal_engine_default | |
# Naming convention symbols | |
cpp_naming_symbols.aactor_class.applicable_kinds = class | |
cpp_naming_symbols.aactor_class.applicable_type = AActor | |
cpp_naming_symbols.swidget_class.applicable_kinds = class | |
cpp_naming_symbols.swidget_class.applicable_type = SWidget | |
cpp_naming_symbols.uobject_class.applicable_kinds = class | |
cpp_naming_symbols.uobject_class.applicable_type = UObject | |
cpp_naming_symbols.boolean_vars.applicable_kinds = local,parameter,field | |
cpp_naming_symbols.boolean_vars.applicable_type = bool | |
cpp_naming_symbols.enums.applicable_kinds = enum | |
cpp_naming_symbols.templates.applicable_kinds = template_class | |
cpp_naming_symbols.structs.applicable_kinds = struct | |
cpp_naming_symbols.all_symbols.applicable_kinds = * | |
# Naming convention styles | |
cpp_naming_style.unreal_engine_default.capitalization = pascal_case | |
cpp_naming_style.unreal_engine_default.required_prefix = | |
cpp_naming_style.unreal_engine_default.required_suffix = | |
cpp_naming_style.unreal_engine_default.word_separator = | |
cpp_naming_style.unreal_engine_enums.capitalization = pascal_case | |
cpp_naming_style.unreal_engine_enums.required_prefix = E | |
cpp_naming_style.unreal_engine_enums.required_suffix = | |
cpp_naming_style.unreal_engine_enums.word_separator = | |
cpp_naming_style.unreal_engine_templates.capitalization = pascal_case | |
cpp_naming_style.unreal_engine_templates.required_prefix = T | |
cpp_naming_style.unreal_engine_templates.required_suffix = | |
cpp_naming_style.unreal_engine_templates.word_separator = | |
cpp_naming_style.unreal_engine_structs.capitalization = pascal_case | |
cpp_naming_style.unreal_engine_structs.required_prefix = F | |
cpp_naming_style.unreal_engine_structs.required_suffix = | |
cpp_naming_style.unreal_engine_structs.word_separator = | |
cpp_naming_style.uobject_style.capitalization = pascal_case | |
cpp_naming_style.uobject_style.required_prefix = U | |
cpp_naming_style.uobject_style.required_suffix = | |
cpp_naming_style.uobject_style.word_separator = | |
cpp_naming_style.aactor_style.capitalization = pascal_case | |
cpp_naming_style.aactor_style.required_prefix = A | |
cpp_naming_style.aactor_style.required_suffix = | |
cpp_naming_style.aactor_style.word_separator = | |
cpp_naming_style.swidget_style.capitalization = pascal_case | |
cpp_naming_style.swidget_style.required_prefix = S | |
cpp_naming_style.swidget_style.required_suffix = | |
cpp_naming_style.swidget_style.word_separator = | |
cpp_naming_style.boolean_style.capitalization = pascal_case | |
cpp_naming_style.boolean_style.required_prefix = b | |
cpp_naming_style.boolean_style.required_suffix = | |
cpp_naming_style.boolean_style.word_separator = |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment