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

LSP for .vsnb Notebook? #46

Open
gapplef opened this issue Dec 4, 2024 · 2 comments
Open

LSP for .vsnb Notebook? #46

gapplef opened this issue Dec 4, 2024 · 2 comments

Comments

@gapplef
Copy link

gapplef commented Dec 4, 2024

Currently, the LSP functionality appears to work only for .wl files and not for .vsnb files.

I noticed a similar request for Jupyter Notebook.

Would it be possible to enable LSP features for .vsnb files as well?

@suman-wolfram
Copy link
Collaborator

suman-wolfram commented Dec 4, 2024

In LSP specification, textDocument/Hover, textDocument/Completion etc are supported.

But I could not find similar features for notebookDocument. Few methods, for example, notebookDocument/did* are supported.

We can implement these features through LSP when these methods are specified in the LSP docs. There might be some other ways to implement these features through LSP. We are working on it.

@gapplef
Copy link
Author

gapplef commented Dec 4, 2024

Ok, I understand the challenges. Thank you for your wonderful work!

Unfortunately, I am not familiar with LSP development. I wander if it possible to get some hints from the implementation of vscode-jupyter or wolfram-language-notebook. The following document might be helpful: Intellisense for notebooks.

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

2 participants