When you share your terminal read-write, the user can execute arbitrary commands directly on your terminal. This allows guests to view the hierarchy of tests in the project, as well as see inline test status. After starting the application and then starting the debug configuration, below you can see I hit a breakpoint in my code. Introducing Visual Studio Live Share November 15, 2017 Amanda Silver, Update May 7, 2018 : Visual Studio Live Share is now publicly available. Since Visual Studio creates a new instance each time, guests can switch back to a previous terminal instance and continue using it with the original privileges. Based in Azure, the new Visual Studio Live Share lets remotely distributed developers create live sessions in which they can interactively share code projects to troubleshoot problems and iterate in real time, while working in their preferred environment and setup.
By default, Live Share attempts to detect and install Linux prerequisites for you. You'll need Visual Studio Code 1. Sure, you could check the code into Github and have the other person clone, but then they still have to install dependencies and start the server themselves. Don't worry, let me fill you in. To invite someone to your session, all you need to do is share this link with them.
An invite link will be automatically copied to your clipboard. In this way, the host now has even more control over their environment, and can be even more confident in their ability to collaborate without compromising security as needed. Visual Studio Live Share will allow developers who aren't in the same physical location to edit and debug the same code simultaneously in their personalized editor or integrated development environments. However, our goal is to support the diverse landscape of languages and platforms, to ensure we can enable rich collaboration, regardless of the application type being developed. Installation Before you begin, you'll need to be sure you've got a version of Visual Studio Code installed that meets Live Share's core requirements.
There are two types of users in all collaboration activities when using Live Share: a host and one or more guests. It means that your teammate can easily jump into your codebase and work with you, using their familiar tool. Note: Co-editing has limitations for certain languages. The installation process prompts users to sign in using their Microsoft or GitHub credentials in order to properly identify participants. At , we showed how Live Share enables real-time collaborative editing and debugging from the comfort of your favorite tools. However, in the event that you are using a non-standard configuration or downstream distribution, you may or may not run into some hiccups.
In real life, a Modus Create team tested Live Share with 4 simultaneous users on three continents, and we could barely notice any latency. To start following a participant as either a host or guest , click on their name in the participants' list in the Live Share Explorer view or custom tab. Live Share goes a step further and enables you to share a debug session. Working on features with team members is still best done using the proven workflows such as committing code to the repository. This seems like the write get it? Make sure you have a look at the before you start your first session.
Zen mode can be toggled using the View menu, Command Palette or by the shortcut Ctrl+K Z. Once the session is over, you can archive or delete this channel, depending on your needs. We created a couple of issues to help secure shared terminal session. Chat with me, join the Slack group! Share a terminal Modern development makes frequent use of a wide array of command line tools. Focusing is a useful feature that brings all participants to a targeted file. Always share your terminal read-only unless you absolutely have to share it with write access By default, you should be sharing your terminal as read-only. Any temp files are automatically cleaned up so no further action is needed.
Double Escape exits Zen Mode. As a guest, you can tell if you have joined a read-only session by looking at your. If you are in a shared debugging session and you step into a file that is in the. See information below for what this looks like. We are excited for you to give! I hope this is helpful for finding the Issue I had a prompt pop up from the extension saying it was corrupted with a link to this issue. The same debugging workflow Visual Studio users are already familiar with applies to all participants of a Live Share session. Some days it seems like I spend about as much time on my terminal as I do in my editor.
The service won't provide just simple screen sharing; they will allow developers to sync repos to collaborate; edit and debug in real-time; and do pair programming on the fly. For example, when you share your workspace, your folder structure is shared. When you share a new terminal, it is read-only by default. You can then select the option to make the session read-only. Go and enjoy your lunch. Sharing Resources Another feature of Live Share is to share resources like a server, a terminal or even a debugger session.