arrow-meta icon indicating copy to clipboard operation
arrow-meta copied to clipboard

[Feature Epic] Tuples

Open JorgeCastilloPrz opened this issue 5 years ago • 0 comments

This covers the complete Tuples feature.

Requirements

  • [x] Fold tuples from e.g: Tuple2<A, B> to (A, B) for readability. Only for the parent tuple, we don’t want to fold nested tuples.
  • [x] Listen to caret and collapse all folding regions in the document except for the current line one. That gets expanded on click.
  • [x] Click folded tuple to unfold it. E.g: (A, B) -> Tuple2<A, B>.
  • [x] ~Line marker with icon and explanation that clarifies what is happening when folded.~
  • [x] Add ellipsis / truncate in the end when there are more than 5 elements in the tuple. (#702 )
  • [x] Tests for the feature
  • [ ] Documentation

JorgeCastilloPrz avatar Apr 21 '20 14:04 JorgeCastilloPrz