dotnet / interactive

.NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
MIT License
2.8k stars 371 forks source link

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

Open carlosfamilia opened 1 month ago

carlosfamilia commented 1 month ago

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

Screenshots

Local computer:

image

Remote computer (SSH): image