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

Implement language features in cells of polyglot notebook #9

Open
gjsjohnmurray opened this issue Sep 22, 2023 · 0 comments
Open

Implement language features in cells of polyglot notebook #9

gjsjohnmurray opened this issue Sep 22, 2023 · 0 comments

Comments

@gjsjohnmurray
Copy link
Collaborator

gjsjohnmurray commented Sep 22, 2023

When using the Polyglot IRIS kernel, all code cells use the iris-polyglot language (display name 'Polyglot IRIS notebook'). AFAIK the .ipynb notebook format and the Jupyter ecosystem doesn't yet support setting code language per cell.

Server-side, our polyglot kernel looks for a %%XXX cell-magic line at the start of a cell when deciding how to execute its contents.

By using the request forwarding technique we could implement language features in the VS Code notebook, notably code colouring.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant