You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've installed the latest docker image for sos-notebook on my ubuntu 22.04 machine, but the notebook with sos-kernel is providing syntax highlighting only for Python code (when the Python code is inside python cell, as well as in a Julia or R cell; for example: "for" and "print" is highlighted even when I write these statements inside a Julia cell). When I create a Julia notebook, the syntax highlighting is happening correctly.
I've tried all possible methods of troubleshooting but haven't got any success. Could this be a feature that hasn't been added to the sos-notebook?
The text was updated successfully, but these errors were encountered:
This is a known issue (vatlab/jupyterlab-sos#65 (comment)) for JupyterLab 4.x, which adopts codemirror 6.x that is incompatible with codemirror 5.x. I am in the process of rewriting the sos language mode (https://github.com/vatlab/codemirror-sos ) which is a serious undertaking and will take a while to complete.
Please upgrade to jupyterlab-sos 0.10.1 and let me know if the problem persists. Note that this version still does not support highlighting sos related features (e.g. %expand) but it uses the right codemirror mode for subkernels.
Thanks so much for your clarification and help! I tried jupyterlab-sos 0.10.1 and the issue has got resolved as shown in the below snippet:
Its just that the R code is not highlighted (actually it seems that Jupyterlab doesn't support highlighting R code, because this is not just happening in the SOS notebooks but also in R notebooks in the jupyterlab.
I've installed the latest docker image for sos-notebook on my ubuntu 22.04 machine, but the notebook with sos-kernel is providing syntax highlighting only for Python code (when the Python code is inside python cell, as well as in a Julia or R cell; for example: "for" and "print" is highlighted even when I write these statements inside a Julia cell). When I create a Julia notebook, the syntax highlighting is happening correctly.
I've tried all possible methods of troubleshooting but haven't got any success. Could this be a feature that hasn't been added to the sos-notebook?
The text was updated successfully, but these errors were encountered: