Replies: 6 comments 4 replies
-
|
Makes sense! Any implementation proposal is welcome. Feel free to expose what would fit more your needs. I would like a complete solution to be able to fulfill the most cases as posible. Probably an enum based on a string like "alphabetical", "alphabetical-reverse", etc... should be enough. What you're referring with "by any property within the files found"? Which properties are you thinking about? |
Beta Was this translation helpful? Give feedback.
-
|
Well, I would suggest to provide 2 additional options, While the above is just about applying any sorting to the returned list values of the glob, which are filenames, an implementation with respect to any property within the files found would be more expensive. Let's say, one could use the property |
Beta Was this translation helpful? Give feedback.
-
This is not true. Currently, the paths are alphabetically sorted after they are gathered from wildcard. Moved this to #265. If someone wants to implement it go ahead. I'm not personally interested. |
Beta Was this translation helpful? Give feedback.
-
|
If you could give me a hint where to start, I could try to do it, i.e. where is the point when paths are sorted after gathered from the wildcard? |
Beta Was this translation helpful? Give feedback.
-
|
This is going to be released in a few minutes with v7.2.0 |
Beta Was this translation helpful? Give feedback.
-
|
See the new |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I like the plugin, it almost perfectly matches what I am looking for and suits better than blog or macro or snippets. However, I wished to have the opportunity to sort the resulting list of a wildcard match. Curently it is the sort order of the underlying glob function, I guess. A good starting point would be the reverse order. A more sophisticated version would it to be sorted by any property within the files found.
Beta Was this translation helpful? Give feedback.
All reactions