Skip to content

Option to focus main and floating windows when focusing back to the application #248462

Open
@axefrog

Description

@axefrog

Love that you added a native "Always on Top" toggle for secondary windows. Here's a variant pain point though:

I have a large monitor with space to breathe, so I often break out a file or two into a secondary window and place them to the side of the main VSCode window. If I then bring a different program into focus (e.g. Windows Terminal is a common one for me) it might be positioned to obscure the secondary VSCode window by some amount. When I switch back to VSCode I find myself wishing that the secondary window would also come back to the foreground as well. I don't need it to be "always on top", I just want my choice to bring VSCode back into focus to also include any secondary windows attached to it.

Image

Image

Possible setting:

Setting ID: window.surfaceAllInstanceWindowsOnRefocus
Hint Text: "Refocusing any VS Code window will also bring to the foreground all other windows belonging to that same VS Code instance"

Then reactivation of either the main window or any of its secondary windows will automatically bring all of them back to the surface. The actual pain point though is just that I like to have my notes on the side when I'm writing code. When I switch back to the code I want the notes to come back too. So whatever solution makes that possible would be a welcome addition to see in a future release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesworkbench-auxwindowIssues related to use of auxiliary ("floating") windows.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions