This commit is contained in:
Johannes Rieken 2021-11-12 17:10:21 +01:00
parent 88ad4c094d
commit ca9042324f
No known key found for this signature in database
GPG key ID: 96634B5AF12F8798

View file

@ -15,6 +15,6 @@ This is the place for the stable API and for API proposals.
### Add a new proposal
1. create a _new_ file in this directory, its name must follow this pattern `vscode.proposed.[a-zA-Z]+.d.ts`
1. creating the proposal-file will automatically update `src/vs/workbench/services/extensions/common/extensionsApiProposals.ts` (make to run `yarn watch`)
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`