Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST]: Open compiler output tabs next to compiler tab #7227

Open
akbyrd opened this issue Dec 15, 2024 · 1 comment
Open

[REQUEST]: Open compiler output tabs next to compiler tab #7227

akbyrd opened this issue Dec 15, 2024 · 1 comment
Labels
request Request for something

Comments

@akbyrd
Copy link

akbyrd commented Dec 15, 2024

Is your feature request related to a problem? Please describe

When I click Output to open the output tab, sometimes the tab opens far away from the associated compiler and I have a moment of confusion while I try to find where it ended up.

Describe the solution you'd like

I'd like the Output to open as a tab within the same docking location as the compiler itself. In the gif below you can see where I end up moving Output tab, and that's the location I want it to open by default.

Describe alternatives you've considered

I imagine this may not be desirable when the compiler is the only tab. In that case it makes sense for the new Output tab to create a new docking area and split the available space with the compiler so both are visible. I can see two potential solutions:

  1. Use a heuristic. If there's only one compiler tab, open the Output in a new docking location. If there's more than one compiler tab, open the Output within the same docking location as the compiler.
  2. Always open new compiler related tabs in the same docking location as the compiler tab that opened them. This has the benefit of being easier to understand.

Neither opening tabs in a new docking location or within the same docking location is going to be what the user wanted 100% of the time. I figure the right default is to open the tab somewhere predictable and easy to find, rather than in a potentially hard to predict place. From that perspective, option 2 seems quite reasonable.

Additional context

In this gif you can see that I have 3 compilers open in a column. When I click Output on the top compiler the output tab opens at the bottom of the column next to the bottom compiler. I then need to move the output tab next to the compiler it is meant for.

Output Window Location

@akbyrd akbyrd added the request Request for something label Dec 15, 2024
@mattgodbolt
Copy link
Member

You can click and drag from the button to place the window wherever you want. That is the "add new->compiler" or any window-opening button is a draggable button that lets you place the destination wherever you like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request Request for something
Projects
None yet
Development

No branches or pull requests

2 participants