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>
This commit is contained in:
@ -40,6 +40,7 @@ class EditorPropertyNameProcessor : public Node {
|
||||
|
||||
mutable HashMap<String, String> capitalize_string_cache;
|
||||
HashMap<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