ExtensionPointsAPI
Defined in: namespaces.ts:1036
Methods
Section titled “Methods”declare()
Section titled “declare()”declare(
id,options):Promise<string>
Defined in: namespaces.ts:1038
Declares a new extension point.
Parameters
Section titled “Parameters”string
options
Section titled “options”Returns
Section titled “Returns”Promise<string>
contribute()
Section titled “contribute()”contribute(
targetId,contribution,options?):Promise<string>
Defined in: namespaces.ts:1040
Contributes to an extension point.
Parameters
Section titled “Parameters”targetId
Section titled “targetId”string
contribution
Section titled “contribution”unknown
options?
Section titled “options?”priority?
Section titled “priority?”number
Returns
Section titled “Returns”Promise<string>
discover()
Section titled “discover()”discover(
pointId):Promise<Contribution[]>
Defined in: namespaces.ts:1042
Discovers contributions to an extension point.
Parameters
Section titled “Parameters”pointId
Section titled “pointId”string
Returns
Section titled “Returns”Promise<Contribution[]>
removeContribution()
Section titled “removeContribution()”removeContribution(
targetId,contributionId):Promise<void>
Defined in: namespaces.ts:1044
Removes a contribution from an extension point.
Parameters
Section titled “Parameters”targetId
Section titled “targetId”string
contributionId
Section titled “contributionId”string
Returns
Section titled “Returns”Promise<void>