Introducing Azure IoT Tools for Visual Studio Code

Xin Shi

Xin

Azure IoT Tools for VS Code is an extension pack for Visual Studio Code that lets you get all you need for Azure IoT development with 1-click installation. Microsoft Azure IoT support for Visual Studio Code is provided through a rich set of extensions that make it easy to discover and interact with Azure IoT Hub that power your IoT Edge and device applications. The Azure IoT Tools provides the following benefits:

Installation

By installing this extension you will install all of the extensions listed above. Some of these extensions will have a dependency on the Azure Account extension to provide a single Azure login and subscription filtering experience.

You can easily uninstall individual extensions if you are not interested in using them, without affecting other extensions provided by this pack. You can uninstall all of the extensions by uninstalling the Azure Tools extension.

Set up your Azure IoT hub in VS Code

Setting up your Azure IoT hub in VS Code is the first thing after installation. You will see the device list and interact with your IoT hub and devices after setting up.

  1. In Explorer of VS Code, click “Azure IoT Hub Devices” in the bottom left corner.
  2. Click “Select IoT Hub” in context menu.
  3. If you have not signed in to Azure, a pop-up will show to let you sign in to Azure.
  4. After signing in, your Azure Subscription list will be shown, then select an Azure Subscription.
  5. Your IoT Hub list will be shown, then select an IoT Hub.
  6. The device list will be shown.

You can access almost all Azure IoT development functionalities provided by these extensions through the Command Palette. Simply press F1, then type in IoT to find available commands. Specifically, if you are interested in IoT device application development, you can visit IoT DevKit website for more samples and tutorials. If you want to learn more about Azure IoT Edge development, you can always find the tutorials on Docs of how to use these commands to create new project, debug modules and deploy to your Azure IoT Edge devices.

Suggestions and Feedback

This project is open-sourced on Github. If you have any feature request or encounter any issues during your daily usage, don’t hesitate to create issue on our Github repository. We are all ears.

Xin Shi
Xin Shi

Program Manager II, Azure IoT Developer Experience

Follow Xin   

1 Comments
Avatar
anonymous 2019-03-19 17:10:03
This comment has been deleted.