Visual Studio Code has an extension available called Live Share that allows for real-time code collaboration with a team. Follow the instructions on this page to set up Live Sharing and begin a collaborative session with teammates.
Install and Setup
- Install the Live Share extension in Visual Studio code by navigating to the Extensions tab on the left hand side and searching for Live Share
- You should now see the Live Share icon in the Activity Bar. You may have to restart VS Code for this to work properly.
Collaboration – Host
- Open a project you would like to collaborate on.
- Navigate to the Live Share icon on the Activity Bar.
- Click Share.
- If you have never logged in before, you will be prompted to log in with either GitHub or a Microsoft account.
- A new page with a collaboration link should appear. You can share this link with anyone you’d like to collaborate with.
- Select Try joining yourself to join the session.
Collaboration – Participant
- Get the collaboration link from the host.
- Navigate to the Live Share icon on the Activity Bar.
- Select Join.
- If you have never logged in before, you will be prompted to log in or continue as a guest in the bottom right of the screen.
- Paste the collaboration link into the terminal prompt at the top of the screen to join the session.