diff --git a/.vscode/tasks.json b/.vscode/tasks.json
index 9566276dc6981ac7556807af8503b9ea64af20e9..cc7543bd1285545d68ee100b9d7f207b74e6d3c0 100644
--- a/.vscode/tasks.json
+++ b/.vscode/tasks.json
@@ -3,6 +3,30 @@
     // for the documentation about the tasks.json format
     "version": "2.0.0",
     "tasks": [
+        {
+            "type": "shell",
+            "label": "cargo build",
+            "command": "cargo build",
+            "problemMatcher": [
+                "$rustc"
+            ],
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            }
+        },
+        {
+            "type": "shell",
+            "label": "cargo expand > expand.rs",
+            "command": "cargo expand > expand.rs",
+            "problemMatcher": [
+                "$rustc"
+            ],
+            "group": {
+                "kind": "build",
+                "isDefault": true
+            }
+        },
         {
             "type": "shell",
             "label": "cargo run --example ex_lit",