Ordering is a bit goofy #81
-
Hi - your tool was suggested at a DX session @ Github Universe this year, so I downloaded it and am putting it through its paces. If I want to create say 3 tours - beginner, advanced, expert - after creating them the order I created them in won't be kept in the tool window. doesn't appear to be alphabetical or even order I added it; maybe its the value of the id hash that is ordering. Either way that's not ideal - and I cannot find a way to reorder these in the plugin UX or by editing the source files for each tour. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 11 replies
-
Hello @jimkohl, that's a good point! Currently, tours are loaded either from IntelliJ indexed VFS - Virtual File System so the order depends on it. I am not really sure what is the order that is used there. It seems random, or based on a hash as you said. Order seems to be important as you mentioned, so yes, I am considering providing a couple of options for this. A quick thought is to have by default Thanks for pointing it out! I'll keep you updated! ✅ |
Beta Was this translation helpful? Give feedback.
-
Alpha sorting and a manual mode (using drag/drop) should both be implemented; and the same approach should be provided for any lists (tour and event lists). I think the alpha mode was the easiest to setup which is why it was suggested that to begin with. Both approaches are useful - alpha ordering works using labelling and it isn't a workaround. there is a nice app I use for managing music setlists for my bands called forscore. can sort by name or manually. If I'm building a bespoke training (like in this situation) I'd be more inclined to use naming for ordering, although drag/drop would be nice. w naming if order changes, then need to change the prefixes. Not sure which requires less code tho. |
Beta Was this translation helpful? Give feedback.
Hello @jimkohl, that's a good point!
Currently, tours are loaded either from IntelliJ indexed VFS - Virtual File System so the order depends on it. I am not really sure what is the order that is used there. It seems random, or based on a hash as you said.
Order seems to be important as you mentioned, so yes, I am considering providing a couple of options for this. A quick thought is to have by default
alphabetical
order and provide options (from settings) fordate-added
andmanual
ordering both withASC/DESC
options.I am going to further design this feature, and proceed to a release shortly. It will be a really useful feature for everyone, especially for cases when someone has to deal wi…