When you don’t have Microsoft Visual Studio Code, It’s a Awesome Open Source Free tool for DevOps and ITPro.
When you installed VSC you can add Extensions to your Visual Studio Code and one of them is Called Azure Account.
When you Add this extension you can connect to Microsoft Azure Cloud Shell in Visual Studio Code.
But before we can use this Extension to connect to Azure CloudShell we need NodeJS version 6 or higher installed on your OS.
Accept the Terms and click Next.
It will also install a Shortcut for the online documentation of this version of NodeJS v9.6.1
Click on Install
With Ctrl+Shift+P you will see all the Commands. (1)
Choose for Azure: Open Bash in CloudShell (2)
When you do this it will make a Microsoft Azure Device Login first to Connect to your Azure Subscription like this :
Type the code which is in VSC here
Azure will see that you connect with Visual Studio Code.
Click on Continue.
Login with your Azure Account of your Subscription.
The Connection with VSC and Azure is made.
Now when you choose Azure: Bash in CloudShell again it will show the Azure Cloud Shell in your VSC.
Your are Online with Azure Cloud Shell.