If you have the dropdown open...
Alt click a profile to open an auto sized pane of the profile.related to #1000
I'm a very visual person. I like to see what profiles I have before opening one, personally.
Also, I forget what each index for the new-pane key binding maps to which profile. So I constantly find myself opening a new pane, seeing that it's the wrong one, closing it, checking the drop down, figuring out the index, then trying the correct key binding. That's on me for being a very visual person, but being able to short-circuit the process into an alt+click would feel pretty natural, I think.
This would be pretty easy to implement, actually. For input, we'd just look at how the Settings flyout menu is handled. Then we just call the new-pane function off of TermApp with the profile that we targeted.
If we go with the alternative implementations, the above implementation is fundamentally the same. We'd just call the function with different parameters.
Please link this from 1000.
And yes, I love this idea.
For the record, I've decided on this:
auto splitPane| Auto Split |
| Horizontal Split |
| Vertical Split |
---------------------
Ok. I was working on this a bit more. FlyoutMenuItem has a Click event that seems to be called on any kind of invocation on the item (keyboard, mouse, touch, etc...). Creating a context menu on this would mean that we would have to break up Click into multiple event handlers (i.e. PointerPressed, KeyDown, etc...).
@DHowett-MSFT and I were thinking maybe the _cleaner_ behavior would be to create a story for how to "move" a pane's configuration around. Think of it like dragging panes in VS Code and getting a shadow for where it would go.
@zadjii-msft Thoughts?
What if we did it on the tab context menu we added in #3789?
What if we did it on the tab context menu we added in #3789?
Sorry, I don't follow. You'd right click on a tab, get the context menu, then what?
Shoot, that's what I get for trying to reply to an issue on a vacation day from email.
I'm thinking something like this, from VSCode:

The "split right/left/up/down" that you get when clicking on a tab. I think that's also tracked somewhere in #1912
Most helpful comment
For the record, I've decided on this:
autosplitPane