From fc7fb5d480418d149ee226ebd45e9c590e240cb5 Mon Sep 17 00:00:00 2001 From: Logan Ramos Date: Thu, 20 Jan 2022 13:56:51 -0500 Subject: [PATCH] Enable proposed api in vscode api tests --- extensions/vscode-api-tests/package.json | 3 ++- src/vscode-dts/README.md | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/extensions/vscode-api-tests/package.json b/extensions/vscode-api-tests/package.json index 45de8bf3b0a..1dd49ae7de9 100644 --- a/extensions/vscode-api-tests/package.json +++ b/extensions/vscode-api-tests/package.json @@ -51,7 +51,8 @@ "tokenInformation", "treeViewDragAndDrop", "treeViewReveal", - "workspaceTrust" + "workspaceTrust", + "telemetry" ], "private": true, "activationEvents": [], diff --git a/src/vscode-dts/README.md b/src/vscode-dts/README.md index 86de5ab0a0e..a69e5eb65e1 100644 --- a/src/vscode-dts/README.md +++ b/src/vscode-dts/README.md @@ -18,3 +18,4 @@ This is the place for the stable API and for API proposals. 1. creating the proposal-file will automatically update `src/vs/workbench/services/extensions/common/extensionsApiProposals.ts` (make sure to run `yarn watch`) 1. declare and implement your proposal 1. make sure to use the `checkProposedApiEnabled` and/or `isProposedApiEnabled`-utils to enforce the API being proposed. Make sure to invoke them with your proposal's name which got generated into `extensionsApiProposals.ts` +1. Most likely will need to add your proposed api to vscode-api-tests as well