azure,

Add Azure Cloud Shell to Visual Studio Code

Sep 25, 2019 · 1 min read · Post a comment
Add Azure Cloud Shell to Visual Studio Code

Visual Studio Code is a code editor developed by Microsoft, which is currently supported on Mac and Linux as well. It can be customized via extensions. Today we are going to integrate it with the Azure Cloud Shell.

Prerequisites

  • Visual Studio Code
  • Azure account with Cloud Shell storage account

Configuration

Step 1. Open Visual Studio Code, click on Extensions, and search for Azure Account.
VSCode Extension

Step 2. Once you installed the extension, go to View -> Command Palette and type Azure: Open Bash in Cloud Shell.
VSCode Command Palette

The terminal window will display the message:

Sign in needed.

Step 3. Click the Sign In button located on the lower right corner. It will open a new window in the default browser that will require login to the Azure Account. Login to the Azure Portal and go back to VSCode.
VSCode Terminal Sign in

Step 4. Once again open the Command Palette from the View tab and open Azure: Open Bash in Cloud Shell. It should display the following:
VSCode Terminal AZ Cloud Shell

The official repository: https://github.com/Microsoft/vscode-azure-account

Join Newsletter
Get the latest news right in your inbox. We never spam!