ExportGroup in EditorInspector has no effect

Godot Version

v4.6.1.stable.mono.official [14d19694e]

Question

When using [ExportGroup(“Group Name”)] the Inspector in the Editor creates foldable groups by default.

When using EditorInspector inside a custom plugin it seems that ExportGroup gets ignored.

Is there a way to achieve the same “foldable” group behavior when using EditorInspector as a control inside of my own plugin?

For comparison

Groups like Presentation, Survivability, NetEntity2D etc. get displayed as foldable Groups

And this is the behavior when treating the EditorInspector as a Control in my plugin:

I would expect the same Groupnames to be foldable. Is there any way to achieve this?

I recommend logging a bug.