Skip to content

Commit

Permalink
Merge pull request microsoft#145 from MicrosoftDocs/repo_sync_working…
Browse files Browse the repository at this point in the history
…_branch

Confirm merge from repo_sync_working_branch to live to sync with https://github.com/microsoftdocs/live-share (branch master)
  • Loading branch information
fubaduba committed Sep 18, 2019
2 parents 6b46e30 + 89b0d20 commit fba2c17
Show file tree
Hide file tree
Showing 7 changed files with 109 additions and 9 deletions.
17 changes: 17 additions & 0 deletions .github/commands.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
perform: true,
commands: [
{
type: 'comment',
name: 'duplicate',
action: 'updateLabels',
addLabel: '*duplicate'
},
{
type: 'comment',
name: 'findDuplicates',
action: 'comment',
comment: "Potential duplicates:\n${potentialDuplicates}"
}
]
}
6 changes: 6 additions & 0 deletions .github/needs_more_info.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
daysUntilClose: 14,
needsMoreInfoLabel: 'needs more info',
perform: true,
closeComment: "This issue has been closed. Please provide more information to reopen the issue."
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--

Copyright © Microsoft Corporation
All rights reserved.
Creative Commons Attribution 4.0 License (International): https://creativecommons.org/licenses/by/4.0/legalcode
Expand Down Expand Up @@ -68,7 +68,7 @@ Many Visual Studio Live Features are available across a number of languages and
</td>
</tr>
<tr style="border:none;">
<td width="128px" style="width: 128px; text-align: center; border:none;"><img src="docs/media/vs-ide.svg" width="128px" alt="Visual Studio logo"/></td>
<td width="128px" style="width: 128px; text-align: center; border:none;"><img src="docs/media/vs-ide-2019.svg" width="128px" alt="Visual Studio logo"/></td>
<td style="border:none;">
<strong>Visual Studio 2017 15.6 or higher</strong><br />
1. Install the latest version of <a href="https://visualstudio.microsoft.com/vs/">VS 2017</a> (15.6+) on Windows (7, 8.1, or 10).<br/>
Expand Down
7 changes: 6 additions & 1 deletion docs/reference/use-cases.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Creative Commons Attribution 4.0 License (International): https://creativecommon

# Common Use Cases

The primary goal of Visual Studio Live Share is to enable developers to collaborate with each other more easily, without introducing any opinion about when and how to do it (e.g. which communication tool to use, the "right" software methodology or SCM workflow). This way, your tools can support interactions that occur **naturally**, and as **frequently** as needed, but in a way that **compliments** how you already prefer to work.
The primary goal of Visual Studio Live Share is to enable developers to collaborate with each other more easily, without introducing any opinion about when and how to do it (e.g. which communication tool to use, the "right" software methodology or SCM workflow). This way, your tools can support interactions that occur **naturally**, and as **frequently** as needed, but in a way that **complements** how you already prefer to work.

This document highlights some use cases that Visual Studio Live Share is already being used for, and describes how well we currently support them, and ways we plan to optimize them further (based on feedback!). If you're using Live Share for something that isn't already covered below, or you think we can do better to support a specific use case, please [let us know](https://github.com/MicrosoftDocs/live-share/issues/new).

Expand All @@ -39,6 +39,7 @@ This document highlights some use cases that Visual Studio Live Share is already
- [Classroom Lectures](#classroom-lectures)
- [Code Reviews](#code-reviews)
- [Technical Interviews](#technical-interviews)
- [Working Remotely](#working-remotely)

## Quick assistance

Expand Down Expand Up @@ -139,6 +140,10 @@ When interviewing candidates for a developer position, it can often be helpful t

Additionally, real-world development is more than simply writing code. Because Live Share also supports shared debugging, tasks and terminals, it allows interviewers to observe candidates while diagnosing an issue, and provide them the appropriate tools needed to solve it (e.g. step debug, run tests). Since all context is remoted from the host's machine, candidates can quickly jump into the "interview environment" without needing to setup their machine (beyond installing Live Share). Teams could then maintain a repository of shared interviewing apps (or use their actual product codebase), that could be cloned and shared with candidates, by simply sending them the session URL before each interview.

## Working Remotely

Work from home without having to keep your home development machines tool chain in sync with your works. Quickly finish of that line of code from home without needing push from work, clone down the repo at home and find the exact line you were working on. Connect on a light weight laptop to your heavy weight work machine.

## See also

- [Language and platform support](platform-support.md)
Expand Down
69 changes: 69 additions & 0 deletions docs/use/technical-interviews.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
title: "Collaborate using Visual Studio Code - Visual Studio Live Share | Microsoft Docs"
description: "A set of collaboration how-tos for Visual Studio Code and Live Share."
ms.custom:
ms.date: 09/16/2019
ms.reviewer: ""
ms.suite: ""
ms.topic: "conceptual"
author: "fishah"
ms.author: "fishah"
manager: "JonathanCarter"
ms.workload:
- "liveshare"
---
<!--
Copyright © Microsoft Corporation
All rights reserved.
Creative Commons Attribution 4.0 License (International): https://creativecommons.org/licenses/by/4.0/legalcode
-->

# How-to: Do Technical Interviews using Live Share

Before you begin using Live Share for Technical Interviews, you must complete one integral step: **Download Visual Studio and the Live Share extension pack from its marketplace** by following [these steps.](../use/vscode.md#Installation)




Live Share provides you the ability to host Reusable Sessions! All this means is that you can schedule a Live Share session in advance for your technical interviews and no worry about the link (otherwise temporary) expiring.

> [!TIP]
>A Reusable Session link is persistent and lasts for 30 days from its date of creation, or date of last use. While generating a Reusable Session link for your interview make sure that the interview is within 30 days of the date of the link's creation. If the link expires, just create a new Reusable Session. (There is a a way to ensure the link never expires, but this is just easier for interviews!)
### **What to do as an Interviewer?**

As an interviewer you will act as the host of the Live Share session. If you are not familiar with Live Share, we suggest you refer to our [share a project](../use/vscode.md) section of our How-to guide.

Now to create a Live Share session for your technical interview,you will create a special Reusable Session instead of the regular collaboration session. This will allow you to have a Live Share session that can be used at anytime with the reference link.

To create a Reusable Session do the following:
1. Go to the `Command Palette` using `Ctrl+Shift+P`
1. Type "Live Sha..." and click the '**_Live Share: Create Reusable Session link_**' command.

![vscode-reusablesessioncmd](../media/vscode-cmdpalette-createreusablelink.png)

3. This will create a Reusable Session and a link to it will be copied to your clipboard. You will see a notification pop-up on the lower-right corner of your editor.

![vscode-reusablesessionnotif](../media/vscode-notification-resuablesession.png)

4. Your Reusable Session has been created! Share the link with your session mate and use it each time to access the session!

Once you have this link, just share it with the interviewee via email or your choice of scheduling mechanism. All they have to do is click on that link at the time of the interview and they will be in a Live Share session.

### **What to do as the Interviewee?**

If you are expecting to do a Technical Interview using Live Share, you are in luck! We want to make sure you are familiar with the basic Live Share features so you feel comfortable during your interview.

1. Before the interview, take some time and look over the [How-to guide](../use/vscode.md) so you understand how Live Share works.

1. You may want to install Visual Studio Code beforehand so that you are not waiting for the installation to complete once you start your interview

1. If you don't have the time, no worries. ALl you need to have a full interview is the link to a Live Share session your interviewer sends you while scheduling the interview. Just clicking on the link will automatically take you through all the steps needed.

1. At the time of the interview, just click on the link and follow the steps it takes you through. If you are early or your interviewer is late to the interview, don't worry! You will just be in the 'lobby' waiting for your interviewer to join. No other steps are required, and once your interviewer joins the session will automatically start.

>[!NOTE]
>If you find that the session has disconnected before or after the interviewer joined, don't worry. Just exit out of that session if (it isn't already closed) and re-click on the same link!
You are now all set to go with using Live Share for your interview!

2 changes: 1 addition & 1 deletion docs/use/vs.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Note that all collaboration activities in described here involve a single **coll
> [!TIP]
> Did you know you can *join your own collaboration session*? This allows you to try Live Share on your own or to spin up an instance of Visual Studio or VS Code and connect to it remotely! You can even use the same identity on both instances. Check it out!
## Installation
## Installation

Before you begin, you'll need to install **Visual Studio 2019** or **Visual Studio 2017 15.6 or higher** on Windows 7, 8.1, or 10. *However, Visual Studio 15.7+ is recommended as this enables local undo/redo support.*

Expand Down
13 changes: 8 additions & 5 deletions docs/use/vscode.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Note that all collaboration activities described here involve a single **collabo
> [!TIP]
> Did you know you can *join your own collaboration session*? This allows you to try Live Share on your own or to spin up an instance of Visual Studio or VS Code and connect to it remotely! You can even use the same identity in both instances. Check it out!
## Installation
## Installation <a name="Installation"> </a>

Before you begin, you'll need to be sure you've got a version of Visual Studio Code installed that meets Live Share's core requirements. You'll need **Visual Studio Code (1.22.0 or higher)** running on:

Expand All @@ -50,10 +50,13 @@ After that, downloading and installing the Visual Studio Live Share extension is

1. Install <a href="https://code.visualstudio.com/">Visual Studio Code</a>
2. [Download](https://aka.ms/vsls-dl/vscode) and install the Visual Studio Live Share extension from the marketplace.
> [!TIP]
> If you are using Live Share for Technical Interviews, we highly recommend installing the Live Share extension pack, which also contains the Live Share Audio and Chat extensions.
3. Reload Visual Studio Code
4. Wait for dependencies to download and install (see status bar).<br/>
1. Wait for dependencies to download and install (see status bar).<br/>
![Finishing install](../media/vscode-finishing-install.png)
5. **Linux**: If you see a notification about installing missing libraries:
1. **Linux**: If you see a notification about installing missing libraries:
1. Click "Install" in the notification.
2. Enter your admin (sudo) password when prompted.
3. Restart VS Code when done.
Expand Down Expand Up @@ -154,7 +157,7 @@ Since this list can get long, you may find it easier to take advantage of a scop

![VS Code session state icon](../media/vscode-share-state.png)

## Share a project
## Share a project

After downloading and installing Visual Studio Live Share, follow these steps to start a collaboration session and invite a colleague to work with you.

Expand Down Expand Up @@ -493,7 +496,7 @@ Modern development makes frequent use of a wide array of command line tools. For

However, terminals are **not** shared by default since they give guests at least read-only access to the output of commands you run (if not the ability to run commands themselves). This way you can freely run commands in local terminals without risk and only share when actually need to do so. In addition, only hosts can start shared terminals to prevent guests from starting one up and doing something you are not expecting or watching.

As a host, you can share a terminal by opening the Live Share custom tab in the VS Code activity bar or the Live Share Explorer view, and selecting the "Share server..." entry or clicking the icon.
As a host, you can share a terminal by opening the Live Share custom tab in the VS Code activity bar or the Live Share Explorer view, and selecting the "Share terminal..." entry or clicking the icon.

![VS Code share terminal](../media/vscode-share-terminal-viewlet.png)<br />

Expand Down

0 comments on commit fba2c17

Please sign in to comment.