Improve editor property capitalization
- Don't capitalize stop words such as "at", "in" or "to".
- Add more acronyms to capitalize.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
(cherry picked from commit aafa816946)
This commit is contained in:
@ -40,6 +40,7 @@ class EditorPropertyNameProcessor : public Node {
|
||||
|
||||
mutable Map<String, String> capitalize_string_cache;
|
||||
Map<String, String> capitalize_string_remaps;
|
||||
LocalVector<String> stop_words; // Exceptions that shouldn't be capitalized.
|
||||
|
||||
// Capitalizes property path segments.
|
||||
String _capitalize_name(const String &p_name) const;
|
||||
|
||||
Reference in New Issue
Block a user