-
Notifications
You must be signed in to change notification settings - Fork 410
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
Improper alignment of the command list output with arguments." #1994
Comments
I'm also interested in seeing this addressed. |
Currently, just uses a maximum line width of 30. If a recipe plus arguments is longer than 30 characters, just won't take it into consideration when aligning doc comments. This idea was to avoid a very long recipe signature causing all other lines having a huge alignment. I increased it from 30 to 50, since it was just kind of an arbitrary number, see #2039. This could be removed entirely, or be made configurable. I'll leave this open to collect feedback. Please feel free to comment on your preference, either way. |
Since the code already exists, and that it is now set to 50. I think that in the future, it would be either to add the possibility of adding a command option or to read the value from the environment variable. Note: Thank you for updating the width value |
My vote would be to make this setting configurable. Thank you! |
I'd be totally fine with making it configurable. It just takes adding a new argument to |
Just version: 1.24
If i execute this command
just --list
i have this outputWe can see that the
just
program align correctly the recipes witouth argument, that is not true for the recipes with argumentsFrom bash, we can align the
just
output command withjust --list | column -s '#' -t -o '#'
I think it would be nice to add the fix directly to the rust code of course if it's not too complicated to modify the
just
command output alignment code.The text was updated successfully, but these errors were encountered: