Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

VisualStudio Code (VS Code) is the recommended coding tool for the development of ACS workshop due to it's ability to use LiveShare, which allows to work collaboratively easily between group members.

Table of Contents

Install VS Code

Follow the instructions of the VS Code documentation to download and install depending on your operating system.

https://code.visualstudio.com/download


LiveShare

Live Share enables you to quickly collaborate with other people on the same code without the need to sync code or to configure the same development tools, settings, or environment.

...

See more details of VS Code LiveShare in the official documentation: https://code.visualstudio.com/learn/collaboration/live-share

Install LiveShare extension

You will need to install the extension of LiveShare only in your personal computer, unless you are the person hosting the LiveShare session from inside the Virtual Machine, in which case you need to install it in the Virtual Machine too. More details in VisualStudio code guide Host a LiveShare session.

  • 1. In your personal computer, open VS Code.
  • 2. Click on the "Extensions" icon and search "LiveShare". Install the first package that shows in the search:

           

Host a LiveShare session

In order to be able to host a LiveShare session, you will need a GitHub or Microsoft account to login.

...

  • 6. Login on your email from inside the Virtual Machine and send an email to the other members of the group with the LiveShare link so they can join.

Join a LiveShare session.

From your personal computer, all you have to do is to open the LiveShare session link that the host member created, this will automatically open VS Code and join the session.

Alternatively, you can copy the LiveShare session link, open VS Code, click the LiveShare icon on the left of the VS Code interface, click the option "Join" and paste the LiveShare session link.

Working in the shared session

Once you enter the LiveShare session you will be able to see the repository and work in it creating files and writing in files. As the members of your group edit the files, you will see their changes live.

...

Finally, if the LiveShare session host enabled the option "share terminal" (see #Host a LiveShare session), if you open the terminal of VS Code you will be able to run commands on the Virtual Machine of the host, including running ACS commands.

...