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

Allow to select multiple tabs for operations such as move / compare #119327

Closed
Tracked by #212907
juhannc opened this issue Mar 19, 2021 · 20 comments · Fixed by #211712
Closed
Tracked by #212907

Allow to select multiple tabs for operations such as move / compare #119327

juhannc opened this issue Mar 19, 2021 · 20 comments · Fixed by #211712
Assignees
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders workbench-tabs VS Code editor tab issues
Milestone

Comments

@juhannc
Copy link

juhannc commented Mar 19, 2021

Whenever I'm reordering my tabs and moving them between the panes, I have to select each tab individually.
It would be awesome, if I could select multiple tabs at once to reorder them or move them between panes.
Basically similar to the behavior of every modern browser, where Shift + click selects a range of tabs or Ctrl + click for selected individual tabs.

@bpasero bpasero added feature-request Request for new features or functionality workbench-tabs VS Code editor tab issues labels Mar 19, 2021
@bpasero bpasero added this to the Backlog milestone Mar 19, 2021
@bpasero bpasero removed their assignment Mar 19, 2021
@bpasero bpasero changed the title Select multiple tabs for reordering Allow to select multiple tabs for operations such as move Mar 19, 2021
@bpasero
Copy link
Member

bpasero commented Mar 19, 2021

Yeah I was waiting for this feature request, I think it would even be cool to allow to select multiple tabs and allow to perform actions on all of them from the context menu.

@juhannc
Copy link
Author

juhannc commented Mar 19, 2021

Yeah I was waiting for this feature request, I think it would even be cool to allow to select multiple tabs and allow to perform actions on all of them from the context menu.

I didn't even think about all the other possible actions, good catch!

@NatoBoram
Copy link

NatoBoram commented Jul 13, 2021

In Firefox, I often Shift+Click to select multiple tabs and Ctrl+W to close them after some intense Googling and StackOverflowing. I find myself doing this in VSCode multiple times per day even though it doesn't do anything.

@ccarner
Copy link

ccarner commented Oct 6, 2021

In Firefox, I often Shift+Click to select multiple tabs and Ctrl+W to close them after some intense Googling and StackOverflowing. I find myself doing this in VSCode multiple times per day even though it doesn't do anything.

I did this just before, for the 100th time today haha. I'd love this change :)

@Binly42
Copy link

Binly42 commented Dec 26, 2021

Another point similar to modern browsers: Allow to move a whole group even with too many tabs.

If there are too many tabs in a group, I cannot drag the group because there is no available area upon where the "mouse arrow cursor" would change to be a "hand cursor" ......

(Workaround: go into the Zen mode, where always only the active tab would be displayed in each group, and so that we can drag the rest area~)


Excuse me If this should be a new issue, but I guess this is not a big issue and is also relative to "modern browser feature"...

Since in my opinion, there should just might be somewhat relationship between:

  • operations on multiple tabs (even of one more groups?)
  • operations on all tabs of a group (some of which are existed features)

@Tyriar
Copy link
Member

Tyriar commented Jan 4, 2022

I actually tried to do this a few times over the weekend instinctively as a way to close many editors at a time as the alternative is to hit ctrl+w 20 times, and ctrl+shift+t to undo when I closed too many.

@Kenobi-the-2nd
Copy link

Yes, I have been looking for this feature for some time. It would be very helpful for organizational purposes, especially since I typically work in multiple languages at once.

@RocketRace
Copy link

This is definitely useful in e.g. large codebases where a refactoring may touch dozens of files at once. I keep stumbling over my muscle memory! 😄

@stronglify13
Copy link

Wait for this!! :D

@RobinDavidss0n
Copy link

Any updates?

@starball5
Copy link

Is this implemented already? I can hold the alt key, click into the unoccupied space in an editor group's tab strip, and then drag and drop the tabs to other editor groups. It just doesn't seem to currently support creating new editor groups while dragging- only moving all tabs from one editor group into another.

Related on Stack Overflow: How can I drag and drop editor groups to customize the layout in VS Code?

@narcis-fv
Copy link

Same here, would like to select multiple tabs, right click and click 'close others'

@pentago
Copy link

pentago commented Jan 25, 2024

Any chance we can get this basic thing?

@starball5
Copy link

@pentago (tongue in cheek) any chance you can PR a draft implementation of this "basic" thing?

@pentago
Copy link

pentago commented Jan 27, 2024

@starball5 not really. Im not saying it's a basic to code rather basic UX thing to have in tabbed windows, I'm sure you'll agree.

Also, this feature was present before, I remember it worked some years ago, not sure what happened to it.

@benibenj benibenj changed the title Allow to select multiple tabs for operations such as move Allow to select multiple tabs for operations such as move / compare Feb 8, 2024
@mkumarpcln
Copy link

+1, would be great to have!

@sundeep-ravella
Copy link

I will work on this

@Tyriar
Copy link
Member

Tyriar commented Apr 8, 2024

@sundeep-ravella I suspect this issue will be too complex for an external contribution.

@benibenj benibenj modified the milestones: Backlog, May 2024 May 7, 2024
@VSCodeTriageBot VSCodeTriageBot added unreleased Patch has not yet been released in VS Code Insiders insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels May 13, 2024
@benibenj
Copy link
Contributor

Tabs multi select is now supported in our insiders build. Give it a try and let us know what you think.

You can get VSCode Insiders here: https://code.visualstudio.com/insiders/

@pentago
Copy link

pentago commented May 16, 2024

Just tested it, selection and movement works great. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality insiders-released Patch has been released in VS Code Insiders workbench-tabs VS Code editor tab issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.