From 86e2758393fdf1b134c591ecdd7ec065d5318068 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Wed, 2 Jul 2025 09:09:53 -0700 Subject: [PATCH 1/2] Fix disable Python extension in untrusted workspaces (#10) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a8a94ada4027..ce389b9236a9 100644 --- a/package.json +++ b/package.json @@ -8,8 +8,8 @@ }, "capabilities": { "untrustedWorkspaces": { - "supported": "limited", - "description": "Only Partial IntelliSense with Pylance is supported. Cannot execute Python with untrusted files." + "supported": false, + "description": "Python extension is not supported in untrusted workspaces. Use Pylance extension to explore." }, "virtualWorkspaces": { "supported": "limited", From e0162bdd3e9c3c47bdbdfd674e15d4fdc88bc6bc Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Wed, 2 Jul 2025 16:27:52 -0700 Subject: [PATCH 2/2] fix: display text when in untrusted mode (#12) --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index ce389b9236a9..86146d63d503 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "capabilities": { "untrustedWorkspaces": { "supported": false, - "description": "Python extension is not supported in untrusted workspaces. Use Pylance extension to explore." + "description": "The Python extension is not available in untrusted workspaces. Use Pylance to get partial IntelliSense support for Python files." }, "virtualWorkspaces": { "supported": "limited",