-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Split up workbench/api into a node and browser part #70319
Comments
I believe that |
@jrieken when I look at |
The |
@jrieken does it make sense to require |
Yes and No, in extHostTypes and other places that implement the API it does make sense, esp. with interfaces that we don't want to duplicate everywhere. |
⬆️ The list above is for electron 5 readiness. We need to move |
re #70319 (comment) - I have changed my mind, we shouldn't leak the |
The list is down to:
|
Thanks @bpasero for moving mainThreadtTask.ts! |
For #68302
We will eventually have to move our
vs/workbench/api/electron-browser/mainThread.*
files intobrowser
orcommon
to support running extensions without node integration.When I look at an example (
mainThreadLanguages.ts
) a common pattern seems to be a dependency tonode/extHost.protocol
which seems to contain both types for the renderer side as well as the extension host side.As a first step I would think
node/extHost.protocol
needs to split up into 2 parts, where the one is clearly the types accessed within the extension host and the other from the renderer side (which then can live incommon
orbrowser
).Thoughts?
The text was updated successfully, but these errors were encountered: