Starting at Google I/O, developers building for Google Home have a new tool at their disposal. It was first mentioned in 2021, but now, the Google Home extension for Microsoft Visual Studio Code is now available. Visual Studio Code is one of the most popular IDEs on Windows, Mac, and Linux (including Chromebooks), and Google's new tool is the perfect companion for building Google Home.
"The Google Home Extension for Visual Studio Code is designed and created for Google Home Platform developers. This extension gives you access to Google Assistant Simulator, Cloud Logging, and other tools to simplify Your smart home development process."
The Google Home extension contains four main features, one of which is a Google Assistant emulator. With this, developers can ensure full Assistant compatibility without leaving their coding environment. Once activated, typing commands that mimic your proposed voice controls to control your device will return the responses you expect to see from Google Assistant. There's also a built-in batch utterance feature that allows testing against multiple commands without having to type them individually.
Also includes Cloud Logging and Home Graph Viewer. The former provides real-time debugging, while the latter allows finding and testing devices that belong to your project. All of this is very convenient without leaving Visual Studio Code.
The easiest way to install the Google Home extension is through the Marketplace in Visual Studio Code. Setup first involves logging into the extension with your Google account and then selecting a cloud project. At any time, resources are just a click or two away, or you can view the full documentation to learn more. Those interested in building for Google Home should be sure to check out Google I/O’s Build, Test, and Deploy Smart Home Devices for Google Home session.
The above is the detailed content of Google Home extension for Visual Studio Code now available. For more information, please follow other related articles on the PHP Chinese website!