Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>ToitNew to Visual Studio Code? Get it now.

Toit

toit

|
1,299 installs
| (0) | Free
Toit Programming Language Support
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Toit for Visual Studio Code

The MIT License Visual Studio Marketplace Installs Visual Studio Marketplace Downloads

The Toit extension adds language support for the Toit programming language, including syntax highlighting, integrated static analysis, code completion, and device overview.

Quick start

toit.io

In this configuration the extension uses the toit CLI to connect to the Toit servers.

All of the extension's features are activated in this mode.

  • Step 1: Install Toit and the Toit Visual Studio Code extension.
  • Step 2: Either place toit in your path or set toit.Path to the location of toit.
  • Step 3: The extension is activated when you open a .toit file.

The extension is now set up and ready to use. Visit the Toit docs for more information about Toit.

toitlang.org

The open source version of Toit provides syntax highlighting and the language server (providing completions, diagnostics, ...). The easiest way to set it up is to download the Jaguar development support and put jag or jag.exe in your path. Jaguar bundles the Toit SDK, but if you'd rather build that yourself, you can follow these steps:

  • Step 1: Follow the steps to build the tools as described in the README.
  • Step 2: Either place toitlsp and toitc in your path or set toitLanguageServer.command to ["PATH_TO_TOITLSP", "--toitc=PATH_TO_TOITC"].
  • Step 3: The extension is activated when you open a .toit file.

Extension tour

See devices and applications

Get an overview of your devices and running apps in the Toit sidebar.

Deploy and run apps

Run and deploy the app you are developing from the device view or from the command palette.


Run apps.


Deploy apps.

Provision and monitor

Provision new devices and monitor serial output from the command palette.


Provision device.


Monitor output.

Switch project

Switch between Toit projects from the status bar.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2022 Microsoft