-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: Consistent list outputs #277
Comments
We can sort them in alphabetical order. |
Hello, I am very interested in this issue and would like to claim it for resolution. Could you please assign it to me? |
@mchgood Hi, I'm glad you're interested in solving it. I've assigned it to you. |
Will this also fix the random reordering that occurs in .tool-versions when rebuilding a devcontainer? The versions don't change, just for example if I have elixir and erlang installed, sometimes erlang will be on top, sometimes elixir. I can create a separate issue if this isn't related. |
I think this issue has already been fixed |
@ccavolt You caught me! I noticed this, but I thought it wasn't a frequent operation, so I didn't mention it. Haha.
@mchgood It's not resolved yet. The code related to this functionality is here. Lines 200 to 221 in 2d15fc8
|
No. The problem should be here, the vfox/internal/toolset/file_record.go Lines 28 to 32 in 2d15fc8
|
1. Your usage scenarios?
Using version 0.5.2. Running commands that list output, such as
vfox list
orvfox current
, and trying to visually interpret the output. Currently the ordering appears to randomly vary.2. What is your expected outcome?
To ease comprehension, the output should be consistently ordered (e.g. alphabetical) for the subcommand, and ideally consistent across subcommands.
For example, two runs of
vfox current
:The text was updated successfully, but these errors were encountered: