-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Aux window: from explorer select or open editor in most recently used group across all windows #200495
Comments
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
That works well, thanks very much for the tip! However, in order to lock the group in the main window I needed 2 groups in the main window. So I created a new file in one group and split the view into a new group, then I could lock both groups and expand the panel. If I select "Lock Group" when there is only a single group in the main window it does nothing, even if there is another group in a floating window. |
Can you give some exact steps for me to reproduce? It is true that we do not allow group locking if you only have 1 group opened in total across all windows, but it sounds like you found a bug maybe. |
|
That restriction does not seem to be necessary, since it is permitted to lock all groups, and when all groups are locked, a new group is automatically created in the main window when needed. |
Changes in #200039 may be relevant. @abrahan-munro can you test with latest Insiders? |
Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/ |
Not having this behavior here, If I click a problem from the main window it opens the file in a new tab in the main window even though it is already opened in an aux window somewhere else (which is counter-intuitive). Hope to see "sidebar as an aux window" and "do not reopen a file but focus it if it's somewhere in an aux window" feature soon. But so far auxiliary windows are really useful, thanks guys. |
@vdegenne there is a setting which will help: |
@gjsjohnmurray @bpasero With the current insider build I can lock the single group in the main window if I have another group in a floating window. |
Can that behaviour be considered a bug? If I have multiple editor groups in the main window it is tracking which is the most recent active one based on direct interaction with the group. So interaction with the main window outside the group shouldn't be counted, whether or not I'm changing focus from another window? |
Also, it'd be nice to be able to lock the empty editor group area (with no editors open) in the main window, so that the placeholder locked group doesn't throw off the |
The current rule is that you cannot lock the main group when no other group is opened but I wonder if we should simply drop this given it makes working with floating windows harder. Our original rationale was that users might be stuck in the main group refusing to open editors even when all other groups are closed, so we simply unlock. |
It would be nice to have an option to open a file in the most recently used auxiliary window, regardless of whether it should be opened in a group or not. |
This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
That restriction does not seem to be necessary anyway, since it is permitted to lock all groups when there are more than one, and when all groups are locked, a new group is automatically created in the main window when needed. So, this should also be the case when there is only one group. |
Should I make a bug report for this? |
🙁 In the last 60 days, this feature request has received less than 20 community upvotes and we closed it. Still a big Thank You to you for taking the time to create this issue! To learn more about how we handle feature requests, please see our documentation. Happy Coding! |
This is slightly improved in the current release. Move an editor or editor group into an aux window, lock the default group, then close all editors in the default group. The empty default group now stays locked. However, it still takes the |
Selecting a file in explorer selects or opens it in the most recently used editor group in the main window. It should also consider floating windows and select or open it in the most recently used editor group across all windows.
Likewise for any other interaction with the side bar or panel that selects or opens an editor. E.g. selecting a problem in the problems panel correctly uses the most recently used editor for that file in all windows, however selecting a change in the source control side bar always uses the main window.
I want to use the main window for the side bar and panel only, and have all editors in floating windows.
Possibly related:
The text was updated successfully, but these errors were encountered: