ソースを参照

VScode运行调试的设置

xiaocao 7 ヶ月 前
コミット
5bb326c8fa
1 ファイル変更46 行追加0 行削除
  1. 46 0
      .vscode/settings.json

+ 46 - 0
.vscode/settings.json

@@ -0,0 +1,46 @@
+{
+    "launch": {
+      "configurations": []
+    },
+    "terminalButtons.buttons": [
+      {
+        "text": "🚀 DEV",
+        "tooltip": "启动微信小程序开发模式",
+        "command": "npm run dev:mp-weixin",
+        "color": "#42b983"
+      },
+      {
+        "text": "📦 BUILD",
+        "tooltip": "生产环境构建",
+        "command": "npm run build:mp-weixin",
+        "color": "#ffa500"
+      }
+    ],
+    "npmScripts.sideBar": true,
+    "MicroPython.executeButton": [
+      {
+        "text": "▶",
+        "tooltip": "运行",
+        "alignment": "left",
+        "command": "extension.executeFile",
+        "priority": 3.5
+      }
+    ],
+    "MicroPython.syncButton": [
+      {
+        "text": "$(sync)",
+        "tooltip": "同步",
+        "alignment": "left",
+        "command": "extension.execute",
+        "priority": 4
+      }
+    ],
+   "volar.takeOverMode.enabled": true,
+  "volar.features.interpolationService": true,
+  "volar.features.semanticTokens": true,
+  "volar.jsx": "preserve",
+  "javascript.suggestionActions.enabled": true,
+  "editor.quickSuggestions": {
+    "strings": true
+  }
+  }