Преглед на файлове

feat: vscode 插件配置

BaiLuoYan преди 3 месеца
родител
ревизия
55a5e46be4
променени са 1 файла, в които са добавени 10 реда и са изтрити 0 реда
  1. 10 0
      .vscode/settings.json

+ 10 - 0
.vscode/settings.json

@@ -1,5 +1,15 @@
 {
     "typescript.tsdk": "node_modules/typescript/lib",
+    "typescript.preferences.includePackageJsonAutoImports": "on",
+    "typescript.updateImportsOnFileMove.enabled": "always",
+    "typescript.tsserver.watchOptions": {
+        "watchFile": "useFsEvents",
+        "watchDirectory": "useFsEvents",
+        "fallbackPolling": "dynamicPriority",
+        "synchronousWatchDirectory": true,
+        "excludeDirectories": ["**/node_modules", "**/dist", "**/.git"]
+    },
+    "typescript.tsserver.experimental.enableProjectDiagnostics": true,
     "i18n-ally.localesPaths": [
         "src/locales"
     ],