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

Whether to support monaco-editor using jupyterlab-lsp to implement multiple cells #1085

Open
FoSuCloud opened this issue May 18, 2024 · 2 comments

Comments

@FoSuCloud
Copy link

Description

I am using jupyterlab-lsp as the language server, but the two monaco-editor instances do not share the context object.
Does jupyterlab-lsp have this feature, or are there any plans to support it?

截屏2024-05-18 22 22 50

Reproduce

  1. Go to '...'
  2. Click on '...'
  3. Scroll down to '...'
  4. See error '...'

Expected behavior

Context

  • Operating System and version:
  • Browser and version:
  • JupyterLab version:
  • jupyter-lsp version:
  • jupyterlab-lsp version:
  • Language Server:
  • Language Server version:
  • Language Server installed with:
  • Language Server Spec
# jupyter_server_config.json
{
  "LanguageServerManager": {
    "language_servers": {
      "my-language-server": {
        "languages": ["my-language"],
        "argv": ["echo"]
      }
    }
  }
}
Troubleshoot Output
Paste the output from running `jupyter troubleshoot` from the command line here.
You may want to sanitize the paths in the output.
Command Line Output
Paste the output from your command line running `jupyter lab` here, use `--debug` if possible.
Browser Output
Paste the output from your browser Javascript console here.
@krassowski
Copy link
Member

By default JupyterLab uses CodeMirror, not Monaco. Surely there would be a way to connect Monaco but this extension does not implement it.

@FoSuCloud
Copy link
Author

By default JupyterLab uses CodeMirror, not Monaco. Surely there would be a way to connect Monaco but this extension does not implement it.

thanks

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