Skip to content

Commit d66fa82

Browse files
Nerzaldeadprogram
authored andcommitted
Started IDE Integration section (#72)
* start ide-integration section
1 parent 30e50f2 commit d66fa82

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

content/ide-integration/_index.md

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
title: "IDE Integration"
3+
weight: 8
4+
---
5+
6+
## GoPath
7+
8+
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).
9+
After adding the tinygo source path to the GOPATH go will know, where to look for the packages like `machine`
10+
11+
### Ubuntu Example
12+
You can just append the path to your tinygo installation in your GOPATH.
13+
14+
> export GOPATH=$GOPATH:/path/to/your/tinygo
15+
16+
## TinyGo Drivers
17+
18+
There are already lot's of drivers for common hardware. See [this](https://github.com/tinygo-org/drivers) for more information.
19+
20+
### Install drivers
21+
22+
> go get tinygo.org/x/drivers

0 commit comments

Comments
 (0)