|
| 1 | +[*.{cpp,h}] |
| 2 | + |
| 3 | +# Naming convention rules (note: currently need to be ordered from more to less specific) |
| 4 | + |
| 5 | +cpp_naming_rule.aactor_prefixed.symbols = aactor_class |
| 6 | +cpp_naming_rule.aactor_prefixed.style = aactor_style |
| 7 | + |
| 8 | +cpp_naming_rule.swidget_prefixed.symbols = swidget_class |
| 9 | +cpp_naming_rule.swidget_prefixed.style = swidget_style |
| 10 | + |
| 11 | +cpp_naming_rule.uobject_prefixed.symbols = uobject_class |
| 12 | +cpp_naming_rule.uobject_prefixed.style = uobject_style |
| 13 | + |
| 14 | +cpp_naming_rule.booleans_prefixed.symbols = boolean_vars |
| 15 | +cpp_naming_rule.booleans_prefixed.style = boolean_style |
| 16 | + |
| 17 | +cpp_naming_rule.structs_prefixed.symbols = structs |
| 18 | +cpp_naming_rule.structs_prefixed.style = unreal_engine_structs |
| 19 | + |
| 20 | +cpp_naming_rule.enums_prefixed.symbols = enums |
| 21 | +cpp_naming_rule.enums_prefixed.style = unreal_engine_enums |
| 22 | + |
| 23 | +cpp_naming_rule.templates_prefixed.symbols = templates |
| 24 | +cpp_naming_rule.templates_prefixed.style = unreal_engine_templates |
| 25 | + |
| 26 | +cpp_naming_rule.general_names.symbols = all_symbols |
| 27 | +cpp_naming_rule.general_names.style = unreal_engine_default |
| 28 | + |
| 29 | +# Naming convention symbols |
| 30 | + |
| 31 | +cpp_naming_symbols.aactor_class.applicable_kinds = class |
| 32 | +cpp_naming_symbols.aactor_class.applicable_type = AActor |
| 33 | + |
| 34 | +cpp_naming_symbols.swidget_class.applicable_kinds = class |
| 35 | +cpp_naming_symbols.swidget_class.applicable_type = SWidget |
| 36 | + |
| 37 | +cpp_naming_symbols.uobject_class.applicable_kinds = class |
| 38 | +cpp_naming_symbols.uobject_class.applicable_type = UObject |
| 39 | + |
| 40 | +cpp_naming_symbols.boolean_vars.applicable_kinds = local,parameter,field |
| 41 | +cpp_naming_symbols.boolean_vars.applicable_type = bool |
| 42 | + |
| 43 | +cpp_naming_symbols.enums.applicable_kinds = enum |
| 44 | + |
| 45 | +cpp_naming_symbols.templates.applicable_kinds = template_class |
| 46 | + |
| 47 | +cpp_naming_symbols.structs.applicable_kinds = struct |
| 48 | + |
| 49 | +cpp_naming_symbols.all_symbols.applicable_kinds = * |
| 50 | + |
| 51 | +# Naming convention styles |
| 52 | + |
| 53 | +cpp_naming_style.unreal_engine_default.capitalization = pascal_case |
| 54 | +cpp_naming_style.unreal_engine_default.required_prefix = |
| 55 | +cpp_naming_style.unreal_engine_default.required_suffix = |
| 56 | +cpp_naming_style.unreal_engine_default.word_separator = |
| 57 | + |
| 58 | +cpp_naming_style.unreal_engine_enums.capitalization = pascal_case |
| 59 | +cpp_naming_style.unreal_engine_enums.required_prefix = E |
| 60 | +cpp_naming_style.unreal_engine_enums.required_suffix = |
| 61 | +cpp_naming_style.unreal_engine_enums.word_separator = |
| 62 | + |
| 63 | +cpp_naming_style.unreal_engine_templates.capitalization = pascal_case |
| 64 | +cpp_naming_style.unreal_engine_templates.required_prefix = T |
| 65 | +cpp_naming_style.unreal_engine_templates.required_suffix = |
| 66 | +cpp_naming_style.unreal_engine_templates.word_separator = |
| 67 | + |
| 68 | +cpp_naming_style.unreal_engine_structs.capitalization = pascal_case |
| 69 | +cpp_naming_style.unreal_engine_structs.required_prefix = F |
| 70 | +cpp_naming_style.unreal_engine_structs.required_suffix = |
| 71 | +cpp_naming_style.unreal_engine_structs.word_separator = |
| 72 | + |
| 73 | +cpp_naming_style.uobject_style.capitalization = pascal_case |
| 74 | +cpp_naming_style.uobject_style.required_prefix = U |
| 75 | +cpp_naming_style.uobject_style.required_suffix = |
| 76 | +cpp_naming_style.uobject_style.word_separator = |
| 77 | + |
| 78 | +cpp_naming_style.aactor_style.capitalization = pascal_case |
| 79 | +cpp_naming_style.aactor_style.required_prefix = A |
| 80 | +cpp_naming_style.aactor_style.required_suffix = |
| 81 | +cpp_naming_style.aactor_style.word_separator = |
| 82 | + |
| 83 | +cpp_naming_style.swidget_style.capitalization = pascal_case |
| 84 | +cpp_naming_style.swidget_style.required_prefix = S |
| 85 | +cpp_naming_style.swidget_style.required_suffix = |
| 86 | +cpp_naming_style.swidget_style.word_separator = |
| 87 | + |
| 88 | +cpp_naming_style.boolean_style.capitalization = pascal_case |
| 89 | +cpp_naming_style.boolean_style.required_prefix = b |
| 90 | +cpp_naming_style.boolean_style.required_suffix = |
| 91 | +cpp_naming_style.boolean_style.word_separator = |
0 commit comments