Open cueckoo opened 3 years ago
Original reply by @svend in https://github.com/cuelang/cue/issues/675#issuecomment-766975537
Thinking about this more, the expected output I had only makes sense if the keys are the same length. I'm not sure if it would be desirable to align both the keys and values, of if that would result in lines that are too long.
Originally opened by @svend in https://github.com/cuelang/cue/issues/675
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Also tested with master at
9c5489fc66edf789372390847d4c3e10f047a005
.What did you do?
What did you expect to see?
Single-line struct field names aligned.
What did you see instead?
The field values are aligned, but the field keys are not. This formatting is a little hard to read to me.