Now, no matter where they go in the project, you'll be dragged to that position to see what they're doing. Users can follow each other by clicking on the name in the Live Share control panel. Sometimes you will want to explain something that requires moving outside of a script. You can also share the VS Code terminal in read only, read / write mode and local server to work on JavaScript or other web projects. In addition to seeing people working in real time, the highlight feature also makes it easy to point out proposed errors and changes.Ĭollaboration can occur on any file in the project folder and you can see which scripts everyone is working in the Live Share control panel. Participants working on the same script have a separate colored cursor, showing where they are working. Now, open any file you want to collaborate and start programming as you normally would. All users, whether logged in or read-only, can access this window.Īt any time during the collaboration process, you can also reopen the chat window, get the shared URL or end the session with the Live Share control panel. Creating a live sharing session opens a chat window. This is not essential, although recommended for connection speed and stability.Īn info window in the lower right corner will contain collaboration links, along with options to create a read-only 'room' and links to more information about the sharing process.Ĭopy the link to the clipboard and send it to a friend or colleague who also has VS Live Share installed! Cooperate to write basic code in VS CodeĬollaboration writing code does not change your programming experience. Log in and you will be redirected back to VS Code and prompted to allow the firewall to work. To set up the basic session, click the Start collaboration session and select the working directory when prompted. Start read-only collaboration session : Use this option to create a collaborative session where users can view, but not edit, the code.Ĭlicking on any of these options will prompt you to sign in to your Microsoft or GitHub account and redirect to the browser.Start collaboration session : Use this option to create your own collaboration session where other users can edit the code. Join collaboration session : Use this option to join other people's sessions as long as they've provided you with the URL.The Session Details window provides three options for sharing code: Open the VS Live Share tab in the left toolbar. Setting up sharing sessions is quite simple. When reloading, you'll see a few new icons on the toolbar, a hash icon indicating the Slack and Discord integration dashboard, along with an arrow icon for the Live Share panel. After installation, click Reload under any of the extensions in the list to reload Visual Studio Code and activate them. Please install VS Live Share with the VS Live Share Extension Pack. In addition to VS Live Share, Microsoft has released additional tools to communicate via external software and audio. Alternatively, you can use the keyboard shortcut Ctrl + Shift + X Search for VS Live Share in the search bar. To install VS Live Share, open VS Code and the Extensions tab on the left toolbar. If you are not yet a VS Code user, download and install it before continuing. VS Code is free and available for Windows, macOS and Linux. Shared terminals and servers make the Live Share the perfect teaching assistant in the classroom. Besides the obvious benefits for teleworkers, Live Share is also a useful educational tool. VS Live Share Extension package includes audio, allowing users to share calls, as well as integration for Slack and Discord. Only logged-in users can contribute to the code, and guests can watch sessions and join live chat. Standard Live Share sessions support up to 5 concurrent users, though this number can be extended to 30 by changing the settings. VS Live Share allows two or more people to collaborate when programming in real time using a Microsoft account or GitHub. Collaboration is the advance in Visual Studio Code.Cooperate to write basic code in VS Code.Set up Visual Studio Code to collaborate.How to use the Live Share feature in Visual Studio Code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |