MPS-extensions icon indicating copy to clipboard operation
MPS-extensions copied to clipboard

Add 'split vertical layout' similar to line splitting

Open JoostvanPinxten opened this issue 5 years ago • 0 comments

While editing/refactoring plaintextgen vertical/indent layouts with property macro's, it becomes tedious to move around multiple lines. Those cannot be selected at once, and therefore the lines need to be moved individually. Moving the macro lines doesn't work well with the move up/down in child list commands either.

Therefore, I propose that we can split a vertical layout into two vertical layouts by an intention. This would make it possible to move the whole vertical layout, e.g. when refactoring some code into a function + function call.

This can get a bit gnarly when the parent's direct contents allows only one element, then it may need to be wrapped by another vertical element.

JoostvanPinxten avatar Dec 27 '20 16:12 JoostvanPinxten