forked from golang/vscode-go
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request 91 from egamma/api-update into master
- Loading branch information
Showing
12 changed files
with
690 additions
and
973 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,88 @@ | ||
{ | ||
"name": "go-code", | ||
"version": "1.0.0", | ||
"description": "Go support for Visual Studio Code", | ||
"author": { | ||
"name": "Microsoft Corporation" | ||
}, | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://monacotools.visualstudio.com/DefaultCollection/Monaco/_git/go-code" | ||
}, | ||
"scripts": { | ||
"prepublish": "tsc" | ||
}, | ||
"dependencies": { | ||
"json-rpc2": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^1.6.2" | ||
} | ||
} | ||
"name": "go-code", | ||
"version": "1.0.0", | ||
"description": "Go support for Visual Studio Code", | ||
"author": { | ||
"name": "Microsoft Corporation" | ||
}, | ||
"private": true, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://monacotools.visualstudio.com/DefaultCollection/Monaco/_git/go-code" | ||
}, | ||
"scripts": { | ||
"prepublish": "tsc" | ||
}, | ||
"extensionDependencies": [ | ||
"go" | ||
], | ||
"dependencies": { | ||
"json-rpc2": "^1.0.2" | ||
}, | ||
"devDependencies": { | ||
"typescript": "^1.6.2" | ||
}, | ||
"engines": { | ||
"vscode": "*" | ||
}, | ||
"activationEvents": [ | ||
"textModel:go" | ||
], | ||
"main": "./out/goMain", | ||
"contributes": { | ||
"language": | ||
[{ | ||
"id": "go", | ||
"extensions": [ | ||
".go" | ||
], | ||
"aliases": [ | ||
"Go" | ||
] | ||
} | ||
], | ||
"debugAdapter": [ | ||
{ | ||
"type": "go", | ||
"enableBreakpointsFor": { | ||
"languageIds": [ | ||
"go" | ||
] | ||
}, | ||
"program": "./out/debugAdapter/openDebugMock.js", | ||
"runtime": "node" | ||
} | ||
], | ||
"configuration": { | ||
"type": "object", | ||
"title": "Go configuration", | ||
"properties": { | ||
"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." | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.