Skip to content
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

Notebook Renderer Messaging #19

Open
mikeburgh opened this issue Feb 10, 2024 · 0 comments
Open

Notebook Renderer Messaging #19

mikeburgh opened this issue Feb 10, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@mikeburgh
Copy link

Great library, especially the request functionality.

Any thoughts about supporting notebook messaging with their custom renderer's ?

Notebooks use vscode.NotebookRendererMessaging on the extension side, which contains the postMessage and onDidReceiveMessage and is bound to a single notebook renderer on creation.

On the renderer instead of using acquireVsCodeApi, the activation function of the notebook renderer gets passed a context (RendererContext) which contains postMessage and onDidReceiveMessage.

@dhuebner dhuebner added the enhancement New feature or request label Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants