1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-12-22 01:57:12 -05:00

update vscode settings

This commit is contained in:
Darien Raymond 2016-12-21 16:38:48 +01:00
parent 3a6f66d177
commit 3692429689
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
2 changed files with 5 additions and 3 deletions

View File

@ -2,8 +2,10 @@
{ {
"editor.tabSize": 2, "editor.tabSize": 2,
"go.buildTags": "json",
"go.lintTool": "gometalinter", "go.lintTool": "gometalinter",
"go.lintFlags": [
"--enable-gc"
],
"go.formatTool": "goimports", "go.formatTool": "goimports",
"protoc": { "protoc": {

4
.vscode/tasks.json vendored
View File

@ -6,7 +6,7 @@
"tasks": [ "tasks": [
{ {
"taskName": "build", "taskName": "build",
"args": ["-tags", "json", "v2ray.com/core/..."], "args": ["v2ray.com/core/..."],
"isBuildCommand": true, "isBuildCommand": true,
"problemMatcher": { "problemMatcher": {
"owner": "go", "owner": "go",
@ -21,7 +21,7 @@
}, },
{ {
"taskName": "test", "taskName": "test",
"args": ["-tags", "json", "v2ray.com/core/..."], "args": ["v2ray.com/core/..."],
"isBuildCommand": false "isBuildCommand": false
} }
] ]