The full list of children for this level
Positive maximum number of real items to show before paginating. The helper does not normalize invalid sizes.
Placeholder label, command, and icon. A bare string is
accepted in place of the object as shorthand for { label }.
Caps a children array at
pageSize, appending a "Load more…" placeholder item when there's more data than that.Useful when a lazily-loaded node (e.g. a directory with tens of thousands of files) would otherwise force VS Code to serialize an enormous array across the extension host boundary in one call.
Pass a
commandand the placeholder is clickable on its own. Without one it's inert, andgetChildrenOfhas to recognizeelement.id === LOAD_MORE_IDitself.