Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Commit

Permalink
Document go.gocodeAutoBuild
Browse files Browse the repository at this point in the history
Fixes #110.
  • Loading branch information
lukehoban committed Apr 11, 2016
1 parent 054880b commit d0ff339
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ In a terminal window with the GOPATH environment variable set to the GOPATH you

_Note_: It is strongly encouraged to turn `Auto Save` on in Visual Studio Code (`File -> Auto Save`) when using this extension. Many of the Go tools work only on saved files, and error reporting will be more interactive with `Auto Save` turned on.

_Note 2_: This extension uses `gocode` to provide completion lists as you type. To provide fresh results, including against not-yet-built dependencies, the extension uses `gocode`'s `autobuild=true` setting. If you experience any performance issues with autocomplete, you should try setting `"go.gocodeAutoBuild": false` in your VS Code settings.

### Options

The following Visual Studio Code settings are available for the Go extension. These can be set in user preferences (`cmd+,`) or workspace settings (`.vscode/settings.json`).
Expand All @@ -52,7 +54,8 @@ The following Visual Studio Code settings are available for the Go extension. T
"go.formatOnSave": false,
"go.formatTool": "goreturns",
"go.goroot": "/usr/local/go",
"go.gopath": "/Users/lukeh/go"
"go.gopath": "/Users/lukeh/go",
"go.gocodeAutoBuild": false
}
```

Expand Down

0 comments on commit d0ff339

Please # to comment.