interactive icon indicating copy to clipboard operation
interactive copied to clipboard

Syntax highlighting and code completions not working for jupyter kernel cells when running a .Net Interactive notebook over ssh

Open carlosfamilia opened this issue 1 year ago • 1 comments

Describe the bug

Syntax highlighting and code completions do not work for Jupyter kernel cells (except for R Kernel) when running a .Net Interactive notebook over SSH (SSH extension). However, it works on local folders despite all VScode extensions being the same as those installed on remote and local computers. I am running the following kernels:

#!connect jupyter --kernel-name bash --kernel-spec calysto_bash
#!connect jupyter --kernel-name python --kernel-spec python3
#!connect jupyter --kernel-name r --kernel-spec ir

Have the following extensions:

Extensions installed locally:
ms-dotnettools.dotnet-interactive-vscode
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-powertoys
ms-toolsai.vscode-jupyter-slideshow
ms-vscode-remote.remote-ssh
ms-vscode-remote.remote-ssh-edit
ms-vscode.remote-explorer
rdebugger.r-debugger
reditorsupport.r

Extensions installed over SSH:
ms-dotnettools.dotnet-interactive-vscode
ms-dotnettools. vscode-dotnet-runtime
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-powertoys
ms-toolsai.vscode-jupyter-slideshow
rdebugger.r-debugger
reditorsupport.r

Please complete the following:

Which version of .NET Interactive are you using? (In a notebook, run the #!about magic command. ): 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074

  • OS
    • [X ] macOS (LOCAL)
    • [X ] Linux (Rocky Linux 9.3 (REMOTE))
  • Browser
    • [X ] Safari
  • Frontend
    • [X ] Visual Studio Code

Screenshots

Local computer: image

Remote computer (SSH): image

carlosfamilia avatar May 10 '24 12:05 carlosfamilia

It happens the same with devcontainers and .NET Interactive with any language, either .dib or .ipynb. Trying to fix it with the semanticHighlighting value does not have any effect.

jmservera avatar Feb 21 '25 20:02 jmservera