51

I really like using the VSCode terminal and I don't want to fire up a separate terminal app, but the integrated terminal occupies too much screen space. It would be great to move it to another monitor or reposition it. Is this possible?

Worthwelle
  • 4,538
  • 11
  • 21
  • 32
Dale Botha
  • 613
  • 1
  • 5
  • 6
  • 1
    same thoughts here... ?did you found a solution?? :-) – ZEE Dec 01 '20 at 13:53
  • related on SO: [Is it possible to open integrated terminals from VS Code in a separate window?](https://stackoverflow.com/q/59665958/11107541) – starball Jul 08 '23 at 21:06

7 Answers7

21

I do not think it is possible to open the integrated terminal (or anything in the panel) in a new window directly. If you do not want to use an external terminal you could:

  • make the terminal its' smallest possible size and maximize it using the "^" button (Image of the ^ button) on demand. You can also set a shortcut for workbench.action.toggleMaximizedPanel to achieve this more efficiently.

  • create a new VSCode Window and only work with the panel / integrated terminal in the new window.

Tom Wiesing
  • 334
  • 2
  • 2
9

I suggest to simply not to use the built in terminal, but open a standalone one out of VS Code.
You can use any terminal you want.

VS Code and standalone Powershell

zx485
  • 2,170
  • 11
  • 17
  • 24
StrongBoy
  • 107
  • 1
  • 1
  • how is this accomplished? Is there a setting that needs to be set? – ariestav Feb 20 '20 at 16:54
  • 1
    You just need to open a new terminal (not on vscode) and go to the same folder as your vscode workspace – ZecKa Apr 27 '20 at 16:57
  • 36
    Doesn't answer the question. – vincent mathew May 17 '20 at 22:56
  • 8
    Problem is you can't run e.g. VSCode Tasks or Launches this way. Using a new VSCode window seems to be the only way. – Andrew Dec 09 '20 at 17:59
  • 1
    It's not the same, the pane with terminal also contains `problems`, `output`, `debug console` etc. These require the workspace context. – Dois Jun 08 '22 at 02:12
  • 1
    This is not a valid answer. The OP clearly states "I don't want to fire up a separate terminal app". There could be multiple good reasons for this so let's not make assumptions and just try to answer the question. – Lqueryvg Aug 16 '22 at 08:20
4

Detached windows using the same workspace is not supported yet in Visual Studio Code. The highly upvoted feature request is at https://github.com/microsoft/vscode/issues/10121.

studgeek
  • 2,345
  • 1
  • 28
  • 28
3

Since VsCode is kind of a electron application, its UI is a webpage rendered inside embedded chromium browser. See for yourself: Open menu Help / Toggle Developer tools.

So you're basically asking if you can pop out DIV of a web page and "open" it in another browser instance. This is not possible.

WoJ
  • 2,804
  • 7
  • 48
  • 73
Mitja Gustin
  • 151
  • 5
2

A popout window would be nice.

But you CAN absolutely get the terminal window onto a "second monitor":

  1. Resize vscode by corner-dragging so its windows extends across 2 screens - Generally extending to the right.

  2. Set your terminal window to be on the right. (Right-click the terminal/output tabs section)

  3. Then move the split point to be just at the join of your monitors.

TaDa! - Terminal window now 'by itself' on your monitor on the right.

I work like this daily...

spechter
  • 141
  • 3
  • ... if they're the same size, resolution and DPI. – Ashley Wilson May 18 '23 at 11:57
  • @AshleyWilson - I suppose your mileage could vary with differing monitor parameters, sure. But my two monitors vary by both size and physical DPI and it works fine. At my work the right-hand monitor is in portrait, and it works fine... If you don't like the way the terminal looks on the secondary monitor, adjust the terminal font in vscode perhaps? – spechter Aug 10 '23 at 02:28
1

I managed to accomplish this with: Ctrl+k o

I found this on the following list of keyboard shortcuts:

https://code.visualstudio.com/shortcuts/keyboard-shortcuts-windows.pdf

Stephen Rauch
  • 3,091
  • 10
  • 23
  • 26
Brian Hall
  • 27
  • 2
0

The ideal case of what you're asking for is tracked by two issue tickets that are still open (not implemented):

You can give those issue tickets a thumbs up reaction to show support for them getting implemented, and subscribe to them to get notified about discussions and updates. But please don't make a "me too" comment. "me too" comments generally come off as annoying to repo maintainers because they clutter up discussion and don't contribute anything of significant value.

As for workarounds, you can create a new and empty VS Code window (with no workspace folder), and drag the terminal from your pre-existing window into that one. You can also detach the session from one VS Code window, and then reattach it into another one (using the Terminal: Detach Session and Terminal: Attach to Session commands in the command palette respectively). See also the user docs.

starball
  • 140
  • 1
  • 10