Your Godot version:
Latest stable (4.7.2) (issue true in all versions of docs as far as I can tell)
Issue description:
Godot Dictionary erase function is called with Remove in C#, which follows C# Dictionary conventions, but not GDScript -> C# conventions; I would expect this function to be called Erase in C#. Perhaps C# clarification would help.
URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_dictionary.html#class-dictionary-method-erase
I understand the logic of using Remove instead of Erase, but it's not documented, and it threw me for a loop as someone used to following the usual GDScript -> C# translation whereby functions share the same name but use different capitalisation. Not a problem so long as it's documented.
Your Godot version:
Latest stable (4.7.2) (issue true in all versions of docs as far as I can tell)
Issue description:
Godot Dictionary
erasefunction is called withRemovein C#, which follows C# Dictionary conventions, but not GDScript -> C# conventions; I would expect this function to be calledErasein C#. Perhaps C# clarification would help.URL to the documentation page:
https://docs.godotengine.org/en/stable/classes/class_dictionary.html#class-dictionary-method-erase
I understand the logic of using
Removeinstead ofErase, but it's not documented, and it threw me for a loop as someone used to following the usual GDScript -> C# translation whereby functions share the same name but use different capitalisation. Not a problem so long as it's documented.