Skip to content

Extract the integrated terminal #34442

Open

Description

"Feature" request.

The integrated terminal grows in functionality, to the point that it could soon become very useful standalone, as its own app. I'm only a casual VScode user (using vim most of the time), but I would definitely be interested in a well-behaved, consistent, reactively-configurable, multi-platform terminal not tied to the editor.

Obviously if such a situation were to unfold, the shared component (not entirely dissimilar to VTE) should be jointly developed and shared with VScode. Both could be able to leverage a common configuration so that whether a terminal leveraging such a theoretical common component is spawned within VScode or standalone, they behave the same.


Edit from Daniel Imms (@Tyriar):

There is some confusion about the scope of this issue, here is the clarification as the thread is long:

There is also an existing feature to open "terminal windows" (ctrl/cmd+alt+shift+`), you just need to open them from an existing VS Code instance https://code.visualstudio.com/docs/terminal/basics#_terminals-in-new-windows

Activity

  1. added
    terminal
    on Sep 15, 2017
  2. lloeki commented on Sep 15, 2017

    @lloeki
    ContributorAuthor

    Hint, hint, call the thing VSterm?

  3. added
    feature-request
    on Sep 15, 2017
  4. Tyriar commented on Sep 15, 2017

    @Tyriar
    Contributor

    This is an idea I've thrown around a bit, I doubt we'll get time to work on it any time soon. The first steps for this would be more flexible movement of the panel inside the workbench and pulling it into its own window.

  5. added this to the Backlog milestone on Sep 15, 2017
  6. auchenberg commented on Sep 16, 2017

    @auchenberg
    Contributor

    You should check out https://hyper.is/, also Electron based and extensible.

  7. lloeki commented on Sep 16, 2017

    @lloeki
    ContributorAuthor

    Kenneth Auchenberg (@auchenberg) I definitely know about Hyper ;) yet Code's implementation is currently much more solid though, and given each one's track record in stability and performance I'd rather bet on Code. Also having the external terminal and Code's integrated one behave in exactly the same way is a non-negligible feature.

  8. auchenberg commented on Sep 16, 2017

    @auchenberg
    Contributor

    Loic Nageleisen (@lloeki) Hyper is migrating to xterm.js build by Daniel Imms (@Tyriar), which means that Hyper most likely will be similar to the VS Code console. I can't speak on behalf of Daniel Imms (@Tyriar), but to me it sounds like most of the concerns are addressed by this migration. vercel/hyper#1275

  9. Tyriar commented on Sep 16, 2017

    @Tyriar
    Contributor

    Yes Hyper is planning on moving to xterm.js for v2. There will be some differences such as configuration and some things are handled differently (clear in Hyper may not work on Windows for example), overall it will be very close to VS Code though.

  10. warpdesign commented on Dec 28, 2017

    @warpdesign
    Contributor

    I can't speak for v2 but the last time I tried Hyper it was really slow & buggy, especially under Windows.

    VSCode's terminal implementation worked so good that I don't use cmd.exe anymore.

    I understand it's not the priority but if I was to try to extract VSCode's terminal and make it run without VSCode where should I start?

  11. Tyriar commented on Dec 28, 2017

    @Tyriar
    Contributor

    Nicolas Ramz (@warpdesign) what I was thinking was to be able to launch the terminal by itself using code --term or something similar, this would involve:

    • Create the "terminal window" which has access to the services used internally by the regular VS Code window (this part would be particularly tricky)
    • Modifying the CLI to support this
    • Figure out how keybindings and other user settings interact with this special window

    Before starting any of this it would probably be wise to get buy in from the team though (and it's not a priority yet so I wouldn't do this yet).

  12. warpdesign commented on Dec 28, 2017

    @warpdesign
    Contributor

    Daniel Imms (@Tyriar) Ok. I'll wait then.

  13. donaldpipowitch commented on Jan 31, 2018

    @donaldpipowitch
    Contributor

    I can't speak for v2 but the last time I tried Hyper it was really slow & buggy, especially under Windows.

    I use the most recent canary and for me it becomes really slow and buggy (disappearing texts, frozen windows and so on) as well, while the terminal in VS Code seems to work really good in everything I tried so far. (Also the copy'n'pasting behavior there seems to work better for me.) Therefor I'd 💕💕💕 to see the VS Code terminal as a stand-alone application as well.

    This is an idea I've thrown around a bit, I doubt we'll get time to work on it any time soon.

    Are there small steps we can do to slowly iterate to this point?

  14. Tyriar commented on Jan 31, 2018

    @Tyriar
    Contributor

    It would be a lot easier if something like this landed in Electron electron/electron#11501, that would allow sharing all the services across multiple windows. Without that, it's hard to think of smaller steps we could take as everything is a pretty big task that might be throw away if the team doesn't like it.

    We could try put together a proof of concept in some branch which hacks together the terminal and necessary services, launching via code --term or something. This would be useful to get some buy in and to show it's a compelling proposition. I doubt I'll have the time to do this any time soon though.

    I'll be moving on with splitting soon which is kind of a prerequisite to this anyway, we wouldn't want a stand alone terminal that couldn't show more than one instance at once. #7504

    In the meantime I recommend hooking up a keybinding to toggle maximize on the panel if you haven't yet https://github.com/Tyriar/dotfiles/blob/7cdd4a9838a0cdec4508a1e484fc603f58c9e1c3/modules/vscode/config/keybindings.json#L19, I use it all the time 😃

  15. 131 remaining items

  16. Upset2 commented on Sep 6, 2024

    @Upset2
  17. added
    workbench-cli
    and removed
    terminal
    on Dec 16, 2024
  18. ns-sjorgedeaguiar commented on Apr 28, 2025

    @ns-sjorgedeaguiar

    Now that we have Copilot in the built-in terminal, I see one more reason to get this feature. It would be awesome to be able to launch a (perhaps lightweight) terminal-only window and have all Copilot's goodies available.

  19. aymuos15 commented on Apr 30, 2025

    @aymuos15

    Now that we have Copilot in the built-in terminal, I see one more reason to get this feature. It would be awesome to be able to launch a (perhaps lightweight) terminal-only window and have all Copilot's goodies available.

    This would be absolutely amazing.

  20. ahaoboy commented on Nov 14, 2025

    @ahaoboy

    It seems that many people have needed this idea ever since it was proposed back in 2017.

  21. MangoFizz commented on Nov 19, 2025

    @MangoFizz

    Now that we have Copilot in the built-in terminal, I see one more reason to get this feature. It would be awesome to be able to launch a (perhaps lightweight) terminal-only window and have all Copilot's goodies available.

    Totally agree

  22. bzlom commented on Feb 6, 2026

    @bzlom

    Another vote for getting this awesome vscode terminal outside of vscode, as a standalone. It's compatibility with every shell and prompt I'm throwing at it is amazing.

  23. darylcecile commented on Feb 10, 2026

    @darylcecile

    Had a play around with this #294035 - Not prod ready, but for those that dont mind building their own... this basically strips back the 'distractions' and leaves just the terminal.

  24. Tyriar commented on Feb 13, 2026

    @Tyriar
    Contributor

    To those unaware, we have a special "Terminal Windows" concept which goes a long way in achieving what I had in mind with this change. The gaps being you need a main window opened in order to use it, some of the flows aren't polished yet due to low usage and there's no CLI to launch it:

    Image Image

    https://code.visualstudio.com/docs/terminal/basics#_terminals-in-new-windows

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestterminal-editorsworkbench-cli

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions