mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-17 10:14:31 -05:00
Enable proposed api in vscode api tests
This commit is contained in:
@@ -51,7 +51,8 @@
|
||||
"tokenInformation",
|
||||
"treeViewDragAndDrop",
|
||||
"treeViewReveal",
|
||||
"workspaceTrust"
|
||||
"workspaceTrust",
|
||||
"telemetry"
|
||||
],
|
||||
"private": true,
|
||||
"activationEvents": [],
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user