Sfoglia il codice sorgente

Add Workspace settings

sevan 8 anni fa
parent
commit
91878c74b2
3 ha cambiato i file con 51 aggiunte e 1 eliminazioni
  1. 0 1
      .gitignore
  2. 22 0
      .vscode/settings.json
  3. 29 0
      .vscode/tasks.json

+ 0 - 1
.gitignore

@@ -130,7 +130,6 @@ node_modules
 .idea
 
 # for VSCode
-.vscode
 /.vs
 /Playground/project.lock.json
 .tempChromeProfileForDebug

+ 22 - 0
.vscode/settings.json

@@ -0,0 +1,22 @@
+// Place your settings in this file to overwrite default and user settings.
+{
+    // Configure glob patterns for excluding files and folders.
+    "files.exclude": {
+        "**/.git": true,
+        "**/.svn": true,
+        "**/.hg": true,
+        "**/.DS_Store": true,
+        "**/.vs": true,
+        "**/.tempChromeProfileForDebug": true,
+        "**/node_modules": true
+    },
+    "files.associations": {
+        "*.fx": "glsl"
+    },
+    "search.exclude": {
+        "**/node_modules": true,
+        "**/bower_components": true,
+        "**/.vs": true,
+        "**/.tempChromeProfileForDebug": true
+    }
+}

+ 29 - 0
.vscode/tasks.json

@@ -0,0 +1,29 @@
+{
+    // See https://go.microsoft.com/fwlink/?LinkId=733558
+    // for the documentation about the tasks.json format
+    "version": "0.1.0",
+    "command": "gulp",
+    "isShellCommand": true,
+    "args": [],
+    "showOutput": "always",
+    "options": {
+        "cwd": "${workspaceRoot}/Tools/Gulp"
+    },
+    "tasks": [
+        { 
+            "taskName": "run",
+            // Hijack Test Command for easy shortcut
+            "isTestCommand": true,
+            "problemMatcher": [
+                "$tsc"
+            ]
+        },
+        { 
+            "taskName": "typescript",
+            "isBuildCommand": true,
+            "problemMatcher": [
+                "$tsc"
+            ]
+        }
+    ]
+}