diff --git a/news/3 Code Health/15525.md b/news/3 Code Health/15525.md new file mode 100644 index 000000000000..5c6b493102b0 --- /dev/null +++ b/news/3 Code Health/15525.md @@ -0,0 +1,14 @@ +Add support for "Trusted Workspaces". + +"Trusted Workspaces" is an upcoming feature in VS Code. (See: +https://github.com/microsoft/vscode/issues/106488.) For now you need +the following for the experience: + +* the latest VS Code Insiders +* add `"workspace.trustEnabled": true` to your user settings.json + +At that point, when the Python extension would normally activate, VS Code +will prompt you about whether or not the current workspace is trusted. +If not then the extension will be disabled (but only for that workspace). +As soon as the workspace is marked as trusted, the extension will +activate. diff --git a/package.json b/package.json index 15352bfacd6c..713073d16094 100644 --- a/package.json +++ b/package.json @@ -47,6 +47,7 @@ "Machine Learning", "Notebooks" ], + "requiresWorkspaceTrust": "onStart", "activationEvents": [ "onLanguage:python", "onDebugResolve:python",