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

Question: How to best handle magics in vscode notebooks #50

Open
cccs-jc opened this issue Nov 6, 2021 · 0 comments
Open

Question: How to best handle magics in vscode notebooks #50

cccs-jc opened this issue Nov 6, 2021 · 0 comments

Comments

@cccs-jc
Copy link

cccs-jc commented Nov 6, 2021

@DonJayamanne I found this vscode-kusto extension and I believe it might contain all the answers to my questions.

I'm new to vscode development. I'm a bit more familiar with JupyterLab and jupyterlab-lsp which leverages the vscode LSP protocol and language servers. I've raised this issue with vscode-jupyter

microsoft/vscode-jupyter#8198

As you see from my issue the way jupyterlab-lsp handles magics is by way of transclusions. However I believe you do something similar here

return LSTextDocument.create(document.uri.toString(), 'kusto', document.version, text);

Does this occur on the client side (in vscode) so that the language server sees the correct text?

To detect %%sql cells and fix the text what do I need as a minimum in my own vscode extension.

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