Skip to content

zokugun/vscode-automatic-editor-sorter

Repository files navigation

Automatic Editor Sorter

License Visual Studio Marketplace Version Open VSX Version Donation Donation Donation

With Automatic Editor Sorter, your opened editors are automatically sorted by their names or paths.

Configuration

automaticEditorSorter.enabled

{
    // controls whether open editors are sorted or not, optional (set to `true` by default)
    "automaticEditorSorter.enabled": true,
}
value description
false disable the extension
true enable the extension, by default

automaticEditorSorter.order

{
    // controls in which direction the open editors are sorted, optional (set to `asc` by default)
    "automaticEditorSorter.order": "asc",
}
value description
asc the open editors are sorted from A to Z
desc the open editors are sorted from Z to A

automaticEditorSorter.rule

{
    // controls how the open editors are sorted, optional (set to `name` by default)
    "automaticEditorSorter.rule": "name",
}
value description
absolute the open editors are sorted by their absolute path
name the open editors are sorted by their name then, by their parent's name, by default
name,absolute the open editors are sorted by their name then, by their absolute path

FAQ

Q: Why are preview editors not sorted?

A: The extension doesn't do it since moving a preview editor will cause it to be fully opened.

Q: Are the pinned editors supported?

A: Yes, even when you are pinning a preview editor. It will cause it to be fully opened and then to be pinned.

Donations

Support this project by becoming a financial contributor.

Ko-fi ko-fi.com/daiyam
Liberapay liberapay.com/daiyam/donate
PayPal paypal.me/daiyam99

Enjoy!