Enable proposed api in vscode api tests

This commit is contained in:
Logan Ramos
2022-01-20 13:56:51 -05:00
parent 44b7cd3320
commit fc7fb5d480
2 changed files with 3 additions and 1 deletions

View File

@@ -51,7 +51,8 @@
"tokenInformation",
"treeViewDragAndDrop",
"treeViewReveal",
"workspaceTrust"
"workspaceTrust",
"telemetry"
],
"private": true,
"activationEvents": [],

View File

@@ -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