Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Feature/pin close others #82545
Currently when someone selects 'Close Others' on an unpinned editor, the editor remains unpinned.
That behavior seemed inconsistent to me since moving an editor around in a group or to a new group pins it. I think it makes sense that if someone is saying to close all editors apart from one, that the one editor should be pinned.
I also made it so an editor is pinned if someone selects 'Close to the right', but I'm less sure of that behavior. If this behavior remains, does it make sense to pin any unpinned editors to the left?
I don't have a problem adding tests, but I didn't see where the relevant tests were.