Working on the same project at the same time
What is LiveShare?
LiveShare is a VSCode plugin that allows people to connect to a host and share a project.
Why would I need to use LiveShare?
LiveShare is useful for when two people are working on the same project at the same time. This method allows for less back and forth and potential merge conflicts on GitHub. Aditionally you can see what others are working on, making same-time collaboration easier.
Requirements
- A GitHub account
- WPILib's VSCode
How do I install LiveShare?
-
Locate the Extensions tab in VSCode.
-
Search for
Live Share
in the Extensions tab. -
Press
Install
, then clickReload Required
if required.
How do I use LiveShare?
How do I host a sesion?
-
Open VSCode's quick menu
(Ctrl + Shift + P)
-
Search for
Start Collaboration
. -
The link to the LiveShare should automatically be copied to your clipboard. Now go to #java in the Discord guild (server), then paste and send the link.
How do I join a session?
-
Obtain an invitation link from #java in the Discord guild.
-
Open VSCode's quick menu
(Ctrl + Shift + P)
-
Search for
Join Collaboration
. -
LiveShare should automatically obtain the URL from your clipboard, if it cannot pull it you will need to put it in there.