vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Drag & drop terminal to tabs bar

Open titouandk opened this issue 1 year ago • 10 comments

It would be nice to be able to drag & drop the terminal to the tabs bar.

It would allow to have a big terminal window.

https://github.com/microsoft/vscode/assets/5413308/f3db0514-1691-456f-a6d0-3bba0cd67fa2

titouandk avatar May 18 '23 15:05 titouandk

Yeah you cannot move the panel items into the editor area.

meganrogge avatar May 18 '23 16:05 meganrogge

Once you have more than one terminal open in the Panel you can drag a terminal's tab (right-hand side of the terminal area) into the editor area. Or you can use that tab's context menu.

When you only have one terminal you can move it using a command - Terminal: Move Terminal into Editor Area

gjsjohnmurray avatar May 18 '23 16:05 gjsjohnmurray

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!

vscodenpa avatar May 18 '23 19:05 vscodenpa

I thought maybe we could allow the terminal view drag to mimic dragging from the terminal tabs section, but I think that would be confusing since the terminal view would still exist

sbatten avatar May 18 '23 19:05 sbatten

Thank you all, especially @gjsjohnmurray for your feedback, this is exactly what i wanted to do 👍

Apparently, you can do it even if you have only one terminal, but it isn't very intuitive however (when you don't know the trick yet):

https://github.com/microsoft/vscode/assets/5413308/6b9d8b80-cffb-4bcc-8e38-ee38e7c20aef

titouandk avatar May 19 '23 08:05 titouandk

@sbatten maybe could it move all the terminals to the tabs bar (and remove them from the Terminal sidebar) ?

https://github.com/microsoft/vscode/assets/5413308/d71605e0-0a0e-4eef-910e-b87a7852e6c7

titouandk avatar May 19 '23 08:05 titouandk

@titouandk you might like to experiment with the "terminal.integrated.defaultLocation": "editor" setting.

gjsjohnmurray avatar May 19 '23 09:05 gjsjohnmurray

Perhaps Move Terminal into Editor Area deserves to be added here:

image

Doing this would also help when tabs are disabled:

"terminal.integrated.tabs.enabled": false

gjsjohnmurray avatar May 19 '23 11:05 gjsjohnmurray

Thank you @gjsjohnmurray, i did not knew this, the defaultLocation setting is very useful 👍

titouandk avatar May 19 '23 11:05 titouandk

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!

vscodenpa avatar Jul 08 '23 02:07 vscodenpa

:slightly_frowning_face: 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!

vscodenpa avatar Jul 18 '23 02:07 vscodenpa