dmd icon indicating copy to clipboard operation
dmd copied to clipboard

Add `groupGlobalsBy()` helper function

Open zanerock opened this issue 6 months ago • 10 comments

In order to support a grouping globals by category, let's add a groupGlobalsBy(groupByFields, options) function. Currently, you can only really group by category if the grouped identifiers are part of a module (because the groupBy() works explicitly with child identifiers so there must be a parent involved). Adding groupGlobalsBy() will allow global identifiers to be grouped by category as well.

zanerock avatar Aug 13 '24 17:08 zanerock