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

Dragging terminals tabs should group and ungroup them #151284

Open
connor4312 opened this issue Jun 5, 2022 · 7 comments
Open

Dragging terminals tabs should group and ungroup them #151284

connor4312 opened this issue Jun 5, 2022 · 7 comments
Assignees
Labels
feature-request Request for new features or functionality terminal-tabs under-discussion Issue is under discussion for relevance, priority, approach
Milestone

Comments

@connor4312
Copy link
Member

I've instinctively tried on more than one occasion:

  1. Dragging a terminal tab atop another one to group it (like dragging a file onto a folder in the explorer)
  2. Dragging a terminal tab in a group out to ungroup it (like dragging a nested file in the explorer to the root of the workspace)

It would be nice if these affordances worked for terminal tabs 🙂

@meganrogge meganrogge added the feature-request Request for new features or functionality label Jun 6, 2022
@Tyriar
Copy link
Member

Tyriar commented Jun 9, 2022

We thought when we did this to only allow rearranging via the tabs views and if you want to group you would need to drag into the actual terminal area. The explorer doesn't have this problem as it's sorted automatically. Open to suggestions but not sure how to resolve that.

@Tyriar Tyriar added the under-discussion Issue is under discussion for relevance, priority, approach label Jun 9, 2022
@connor4312
Copy link
Member Author

I way I've seen to do this is to have "edges" so that dragging a tab in a small area between two tabs would have a horizontal highlight bar between them, and rearrange. While dragging tab more directly atop another tab highlights the tab itself and will split them.

@Tyriar
Copy link
Member

Tyriar commented Jun 9, 2022

I don't think the list currently supports that?

@connor4312
Copy link
Member Author

Not currently 🙂

@Tyriar Tyriar added this to the Backlog milestone Jun 10, 2022
@joyceerhl
Copy link
Collaborator

I hit this today--I wanted to have two terminals next to each other so I could watch the output for both since the tasks were related, but forgot to click 'split terminal' and instead clicked new terminal. Then I tried dragging the newly terminal on top of an existing one to get to a split view and found that didn't work.

@Tyriar
Copy link
Member

Tyriar commented Dec 13, 2023

Created #200745 to explore the idea of a new dnd edge feature in the list widget.

@Tyriar
Copy link
Member

Tyriar commented Dec 9, 2024

This is unblocked:

Lists/Trees now support drag and drop between items. This can be tested in the Open Editors View (Supports multi select drag and drop) and in the Debug Watch Expressions View. It's also possible for lists/trees to use DnD between items in some cases and DnD over items in other cases.

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 terminal-tabs under-discussion Issue is under discussion for relevance, priority, approach
Projects
None yet
Development

No branches or pull requests

4 participants