Make clearer how to use configuration options

This commit is contained in:
Luke Hoban 2015-11-18 10:00:17 -08:00
Родитель 682ac85040
Коммит 71f90ffc65
1 изменённых файлов: 6 добавлений и 26 удалений

Просмотреть файл

@ -34,31 +34,11 @@ The following Visual Studio Code settings are available for the Go extension. T
```javascript
{
"go.buildOnSave": {
"type": "boolean",
"default": true,
"description": "Run 'go build'/'go test' on save."
},
"go.lintOnSave": {
"type": "boolean",
"default": true,
"description": "Run 'golint' on save."
},
"go.vetOnSave": {
"type": "boolean",
"default": true,
"description": "Run 'go tool vet' on save."
},
"go.formatTool": {
"type": "string",
"default": "goreturns",
"description": "Pick 'gofmt', 'goimports' or 'goreturns' to run on format."
},
"go.gopath": {
"type": "string",
"default": null,
"description": "Specifies the GOPATH to use when no environment variable is set."
}
"go.buildOnSave": true,
"go.lintOnSave": true,
"go.vetOnSave": true,
"go.formatTool": "goreturns",
"go.gopath": "/Users/lukeh/go"
}
```
@ -127,4 +107,4 @@ And for debugging:
- delve: `go get -u -v github.com/derekparker/delve/cmd/dlv`
## License
[MIT](LICENSE)
[MIT](LICENSE)