vscode-yaml-sort icon indicating copy to clipboard operation
vscode-yaml-sort copied to clipboard

Sort YAML files recursively with custom order

Open sherif-fanous opened this issue 1 year ago • 0 comments

As the title mentions if I define a custom order using any of customSortKeywords_1, customSortKeywords_2, or customSortKeywords_3 and then proceed to use YAML Sort: Recursively sort all files the resulting file is sorted alphabetically without taking into account the ordering defined in any of the 3 customSortKeywords

If that is by design, then it would be really useful to introduce a new configuration opion (e.g. recursiveCustomSortKeywords) to enforce a user defined sort order when sorted all files in a directory.

sherif-fanous avatar Jan 24 '24 01:01 sherif-fanous