-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
Test finalized renderer messaging API #129472
Comments
Works fine, I just find it weird that this is finalized API but if I do not have |
Yeah, we are sure we want to finalize an API that depends on proposed API? Are we confident enough in the proposed API? |
I think we're confident that there will be something named a NotebookEditor and that we want it passed when doing messaging. Stable vscode.d.ts types it as an empty interface, so an empty object is passed to ensure that non-proposed consumers don't accidentally depend on any of its properties. |
Isi took care of Paula's slot. Closing the TPI |
Refs: #123601
Complexity 4
Create Issue
Create Issue
Renderers do not use standard webview messaging, so we created a new messaging channel for them to talk to the extension. Messaging must be requested statically and is opt-in, since renderers which have a hard dependency on messaging will not be usable in aznb.
vscode/src/vs/vscode.d.ts
Line 12329 in d611085
Note that, since the editor is still proposed, an empty object is given and accepted in this API when
enableProposedApi
is not turned on.You can test this functionality with an existing renderer-bearing extension, like github-issues-notebooks, or create your own notebook renderer via
npm install -g generator-code && yo code
The text was updated successfully, but these errors were encountered: