Add VSCode plugin list and fixed jsbeautify config.
[src/xds/xds-agent.git] / .vscode / settings.json
index eceb734..7ef453d 100644 (file)
@@ -1,5 +1,14 @@
 // Place your settings in this file to overwrite default and user settings.
 {
+  // Controls the rendering size of tabs in characters.
+  // If set to auto, the value will be guessed based on the opened file.
+  "editor.tabSize": 2,
+  // Insert spaces when pressing Tab. This setting is overriden based on the file contents when `editor.detectIndentation` is on.
+  "editor.insertSpaces": true,
+
+  // .jsbeautifyrc not at root directory but under webapp/
+  "beautify.config": "webapp/.jsbeautifyrc",
+
   // Configure glob patterns for excluding files and folders.
   "files.exclude": {
     ".tmp": true,
@@ -9,8 +18,8 @@
     "debug": true,
     "bin": true,
     "tools": true,
-    "webapp/dist": true,
-    "webapp/node_modules": true
+    "webapp*/dist": true,
+    "webapp*/node_modules": true
   },
   // Specify paths/files to ignore. (Supports Globs)
   "cSpell.ignorePaths": [
     "**/vscode-extension/**",
     "**/.git/**",
     "**/vendor/**",
+    "**/webapp/dist/**",
     ".vscode",
     "typings"
   ],
   // Words to add to dictionary for a workspace.
   "cSpell.words": [
-    "apiv",
-    "gonic",
-    "devel",
-    "csrffound",
-    "Syncthing",
-    "STID",
-    "ISTCONFIG",
-    "socketio",
-    "ldflags",
-    "SThg",
-    "stconfig",
-    "Intf",
-    "dismissible",
-    "rpath",
-    "WSID",
-    "sess",
-    "IXDS",
-    "golib",
-    "xdsapi",
-    "xdsconfig",
-    "xdsserver",
-    "xdsagent",
-    "nbsp",
-    "Inot",
-    "inotify",
-    "cmdi",
-    "sdkid",
-    "Flds",
-    "prjs",
-    "iosk",
-    "CIFS",
-    "IPROJECT"
-  ]
+    "apiv", "gonic", "devel", "csrffound", "Syncthing", "STID", "ISTCONFIG",
+    "socketio", "ldflags", "SThg", "stconfig", "Intf", "dismissible", "rpath",
+    "WSID", "sess", "IXDS", "golib", "xdsapi", "xdsconfig", "xdsserver",
+    "xdsagent", "nbsp", "Inot", "inotify", "cmdi", "sdkid", "Flds", "prjs",
+    "iosk", "CIFS", "IPROJECT", "unregister", "conv", "PATHMAP", "nospace",
+    "graphx", "Truthy", "darkviolet", "dwnl", "topnav", "leftbar", "urfave",
+    "unmarshall", "sebd", "priv", "evts", "gdbserver", "tabset", "pageview",
+    "subpath", "prebuild", "reflectme", "franciscocpg"
+  ],
+  // codelyzer
+  "tslint.rulesDirectory": "./webapp/node_modules/codelyzer",
+  "typescript.tsdk": "webapp/node_modules/typescript/lib",
+  "tslint.configFile": "webapp/tslint.json"
 }