Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update quick start for toitlang.org. #167

Merged
merged 2 commits into from
Dec 4, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions vscode/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,25 @@ The Toit extension adds language support for the Toit programming language, incl

## 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](https://docs.toit.io/getstarted/installation) and the [Toit Visual Studio Code extension](https://marketplace.visualstudio.com/items?itemName=toit.toit).
- _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](https://docs.toit.io/) for more information about Toit.

### toitlang.org
The open source version of Toit provides syntax highlighting and the
language server (providing completions, diagnostics, ...).

- _Step 1:_ Follow the steps to build the tools as described in the [README](https://github.com/toitlang/toit).
- _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
Expand Down