-
Notifications
You must be signed in to change notification settings - Fork 108
Open
Labels
area: apiIssues related to API category.Issues related to API category.
Milestone
Description
The enums associated with the Language Runtime API need to exist in the vscode.d.ts
type definitions, so extension authors can build on them.
Hygiene rules ensure that types that exist on the external API must also exist on the extension host, so we have to copy this to extHostTypes
.
Other rules forbid the importing of any types from vscode
API or extHost
(which represent the extension host process) into the core/contrib code. So we have to define the enum a third time there for use inside the core.
It feels like there ought to be a way for us to reduce this to two type declarations, or even one.
Metadata
Metadata
Assignees
Labels
area: apiIssues related to API category.Issues related to API category.