about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavis Vaughan <davis@posit.co>2024-02-12 18:14:10 -0500
committerDavis Vaughan <davis@posit.co>2024-02-12 18:14:10 -0500
commit45e05abf7b648409e18eb898a6612f731aa0b1d8 (patch)
treedcf815d51ed8cf91d4ce8e19d56a9e1b2ea50d4b
parent3770f73bd661514b14a67f9ebd314e9ffa264fd7 (diff)
downloadrust-45e05abf7b648409e18eb898a6612f731aa0b1d8.tar.gz
rust-45e05abf7b648409e18eb898a6612f731aa0b1d8.zip
Activate on top level `Cargo.toml` and `rust-project.json` files
-rw-r--r--editors/code/package.json2
1 files changed, 2 insertions, 0 deletions
diff --git a/editors/code/package.json b/editors/code/package.json
index fea11eb56c1..ff2c4b31cb0 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -68,7 +68,9 @@
         "typescript": "^5.1.6"
     },
     "activationEvents": [
+        "workspaceContains:Cargo.toml",
         "workspaceContains:*/Cargo.toml",
+        "workspaceContains:rust-project.json",
         "workspaceContains:*/rust-project.json"
     ],
     "main": "./out/main",