Skip to content
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
22 changes: 22 additions & 0 deletions content/ide-integration/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: "IDE Integration"
weight: 8
---

## GoPath

In order to get IDE support like autocomplete you have to add the tinygo src path to your [GOPATH](https://github.com/golang/go/wiki/GOPATH).
After adding the tinygo source path to the GOPATH go will know, where to look for the packages like `machine`

### Ubuntu Example
You can just append the path to your tinygo installation in your GOPATH.

> export GOPATH=$GOPATH:/path/to/your/tinygo

## TinyGo Drivers

There are already lot's of drivers for common hardware. See [this](https://github.com/tinygo-org/drivers) for more information.

### Install drivers

> go get tinygo.org/x/drivers