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

Save also the arrangement of terminals #170

Closed
firflant opened this issue Feb 17, 2018 · 4 comments
Closed

Save also the arrangement of terminals #170

firflant opened this issue Feb 17, 2018 · 4 comments
Labels

Comments

@firflant
Copy link

Do you think it would be possible to save in a project also the state of opened terminals?

User story:
As a user, to work on a project locally, i need to have three terminals opened. One to run the local server script from the server directory, second to run the client from a client directory and third to perform operations that i like usually to do from a command line.

I can open three terminal sessions in VS code without a problem and create key bindings to switch between them nicely (for example to quick preview of the the output).
It would be great to restore the terminals state after opening saved project. I mean not whole session, but only amount of opened terminals and their starting locations. In iTerm these are called Arrangements. You can save there and restore terminal Arrangements. Being able to do that in VS Code automatically after opening new project would be very useful. It would make me completely resign from using the iTerm, which is currently my favorite command line manager.

@alefragnani
Copy link
Owner

Hi @frontcraft ,

I dare to say that VS Code itself already save that, with a lot of other session-stuff. I remember reopening sessions and the Terminal panel appear, but I don't remember if all my Terminals are reopened. I guess not.

Based on this, I think the best place to ask this is on VS Code repo itself. They even have an integrated-terminal Label for things related to the terminal.

For instance, there is this issue microsoft/vscode#43557 in VS Code repo which ask for command history

Hope this helps

@Tyriar
Copy link

Tyriar commented Feb 21, 2018

@frontcraft here's the issue you're after microsoft/vscode#20013

@alefragnani
Copy link
Owner

Thanks @Tyriar for pointing the right issue to track.
@frontcraft I'm closing this in favor of the that issue.

@Tyriar
Copy link

Tyriar commented Feb 24, 2018

FYI I split the layout/shell/env restore specifically out into microsoft/vscode#44302 and next Insiders will have a basic implementation which you can turn on using terminal.integrated.experimentalRestore. Any feedback on how it works would be great 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants