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

Allow guests to open shared terminals in a split terminal #1205

Closed
anthonytec2 opened this issue Oct 26, 2018 · 12 comments
Closed

Allow guests to open shared terminals in a split terminal #1205

anthonytec2 opened this issue Oct 26, 2018 · 12 comments

Comments

@anthonytec2
Copy link

Currently when you share terminals you get discrete terminals for each set shared. I would like to have the ability to place the terminals side by side next to each other.

@IlyaBiryukov
Copy link
Collaborator

Hi,

Thanks for your suggestion. I assume you're asking about the guest side in VSCode?

The host already can share terminals side-by-side when liveshare.autoShareTerminals VSCode setting is true, which is the default, and the guest clicks on Split Terminal.

However, when the guest clicks on Split Terminal command, VSCode just starts a local terminal. This cannot start another shared terminal for two reasons:

  1. VSCode doesn't allow extension to configure of what the split terminal should be
  2. Guest doesn't have permission to start a new shared terminal in collaboration session for security reasons.

@lostintangent lostintangent changed the title Shared Terminals Allow guests to open shared terminals in a split terminal Oct 27, 2018
@lostintangent
Copy link
Member

@IlyaBiryukov One thing we could do is add a new action button to the viewlet that allows guests to open a shared terminal in a new split terminal, as opposed to a regular terminal. That way the decision of when to open a terminal in split or “full” mode is a UI decision of the guest, as opposed to something enforced by the host.

This new action could be called “Open Split Terminal”, and would be available as both a context menu and “row icon” for shared terminal instances in the explorer view.

@anthonytec2 Thoughts? What that accommodate your use case? We can use this issue to track this discussion/proposal.

@anthonytec2
Copy link
Author

My main use case is currently when I am working with a partner they may have two terminals open that are side by side in their view. Although, on my view I can only see these terminals as two separate full view terminals. I would love to have the ability from the guest side to have a split view with both of the two terminals like the host view.

@IlyaBiryukov
Copy link
Collaborator

@lostintangent we'd need support from VSCode if we want to enable this in Live Share. Something like an ability to open a new terminal window alongside the existing one, in a split terminal, instead of a regular window where a new terminal usually goes to.

@carlmanaster
Copy link

@IlyaBiryukov Could you open a request for this support in VSCode? I think the request would have more weight and more relevance coming from the Live Share team.

@IlyaBiryukov
Copy link
Collaborator

Already did. Here it is
microsoft/vscode#45218

@carlmanaster
Copy link

carlmanaster commented Mar 22, 2019 via email

@rispeed
Copy link

rispeed commented Jul 23, 2019

I was looking for the same thing, a way to join two existing terminals together into a split

@lostintangent
Copy link
Member

Closing this due to a lack of any recent customer feedback. Please re-open if you still think this is something we should address. Thanks!

@StummeJ
Copy link

StummeJ commented May 26, 2020

Was there ever a solution for this. It's super annoying to have a yarn serve in one terminal and tests in another but not be able to join them

@neodon
Copy link

neodon commented Jul 30, 2020

This is a constant source of annoyance and confusion when I am pairing with someone. I have 2-3 terminals open that are split, and they can only see one at a time. I would use focus terminal so they could follow what I'm doing, but that doesn't work (at least when using the Remote SSH extension + LiveShare).

Can you have another look into this? For us it's the only downside to an otherwise polished and productive pairing solution.

@lostintangent
Copy link
Member

VS Code now allows terminals to be moved into split terminals, and so a guest has the flexibility to configure the "position" of a shared terminal however they'd like 🚀 As a result, I'm going to close this as resolved, but please let us know if folks have any issues/feedback in this area. Thanks!

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

No branches or pull requests

8 participants