breadcrumbs icon indicating copy to clipboard operation
breadcrumbs copied to clipboard

[FR] Alphabetically Sort when Copying Index to Clipboard

Open 64bakerst opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. When copying the (Global or Local) index, currently it's out of order - or some arbitrary order, maybe by creation date/time?

Describe the solution you'd like Would like to post the index in an alphabetical order

64bakerst avatar Jul 21 '22 21:07 64bakerst

I think currently the plugin directly generate the output text, so there is no sorting.

I think the potential solution maybe: when generating the output, the hierarchical output can be stored in a hierarchical list and after the generation of this list, some sorting can be made on each level of this list. And at last, the output text is generated with a walk through of this re-ordered list.

zhao414 avatar Aug 01 '22 07:08 zhao414

This is implemented in V4, see here for more info: https://github.com/SkepticMystic/breadcrumbs/blob/master/V4.md Now when you run the Create List Index command, you can choose a sort order

SkepticMystic avatar Mar 17 '24 18:03 SkepticMystic