You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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.

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.

In the case of the ACS workshop it will be very useful to work in the project, hosting a LiveShare session from the ACS Virtual Machine and sharing it with each member of your group.

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. More details in the next step.

  • 1. Inside your Virtual Machine, 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.

In this tutorial in particular, we will host the LiveShare session from inside the ACS Virtual Machine to make it easier to collaboratively work on the project and be able to use ACS to compile and run your component.

Only one of the members of your group is needed to be the host of the LiveShare session.

  • 1. Install LiveShare extension in the VS Code inside the Virtual Machine.
  • 2. Open the ACS Workshop repository with VS Code.
  • 3. Click on the LiveShare icon and select the option "Share":

                           

  • 4. The first time you will be requested to login using your Microsoft or GitHub account. Follow the instructions.
  • 5. Once the LiveShare session is ready, the link to the LiveShare session should be copied on your clipboard. If you need to copy it again, click the LiveShare icon that is on the lower part of the VS Code interface and copy link again. You can also share the terminal which can be useful for other members to run ACS.

                   

  • 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.


  • No labels