瀏覽代碼

update vscode settings

Darien Raymond 8 年之前
父節點
當前提交
3692429689
共有 2 個文件被更改,包括 5 次插入3 次删除
  1. 3 1
      .vscode/settings.json
  2. 2 2
      .vscode/tasks.json

+ 3 - 1
.vscode/settings.json

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

+ 2 - 2
.vscode/tasks.json

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