One of our, and likely your, favorite new code editors is VSCode. But it's Friday and we post hardware and IoT stuff today.
So I'm thinking highlight the new IoT Extension for VS Code is something perfect to share today... :)
Visual Studio Code is the first code editor and first cross-platform development tool – supporting OS X, Linux, and Windows – in the Visual Studio family.
Windows 10 IoT Core already supports popular boards like Raspberry Pi2, MinnowBoard Max and DragonBoard, and because Node.js continues to see a lot of excitement in the maker community, we have been continuously improving and expanding the Node.js support for Windows 10 IoT Core.
Using Visual Studio Code and the new Window Iot Core Extension for VS Code, you can write a Node.js script, deploy it to a Windows IoT Core device and then run it from the development machine of your choice, whether it runs OS X, Linux or Windows.
Install VS Code
To get VS Code go to http://code.visualstudio.com. The setup is quick and easy! If you are new to VS Code, I suggest you check out VS Code Tips and Tricks: https://github.com/Microsoft/vscode-tips-and-tricks
Install Windows IoT Core Extension for Visual Studio Code
- Start VS Code
- Press F1
- Type “Install extensions” and press enter
- Type “iot” in the edit box at the top of the list
- Click the install button on Windows IoT Core Extension for Visual Studio Code
- Go to https://nodejs.org/ in a browser
- If you aren’t sure which version to install, then install the LTS version
Deploying the Hello World Sample to Windows IoT Core
To create a simple web server that displays “Hello World,” open a command prompt and execute the following commands:
Quick Tour of IoT Commands
All of the commands contributed by this extension are prefixed with “iot:”. To see a list of commands that are contributed by this extension, press F1 and then type iot. You should see something like this:
Comments have been closed since this content was published more than 30 days ago, but if you'd like to send us feedback you can Contact Us.