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
.
Step 2. Once you installed the extension, go to View -> Command Palette and type Azure: Open Bash in Cloud Shell
.
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.
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:
The official repository: https://github.com/Microsoft/vscode-azure-account