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
This issue seems more severe than initially expected. The problem is that there is no support in JupyterLab for the kernel.jsmechanism that we use to inject the syntax highlighting in the current version of IRuta (0.2.0). Please also see this open issue: jupyterlab/jupyterlab#3010
Hence, we would need to completely rethink our code highlighting. Possible options are
1. Write a JupyterLab Extensions
Advantage: High flexibility - may also be required for the AnnotationViewer (see #7 )
Disadvantages: Severe overhead (in terms of code and installation procedure) & problems with Binder integration
2. Implement our own Language Server for Ruta OR write a CodeMirror mode
Advantage: May also be used in other context (e.g. syntax highlighting in other platforms) and for other use-cases (code completion, help, etc.)
Disadvantage: Complexity?
For now, we should recommend using Jupyter Notebook for IRuta instead of JupyterLab.
Describe the bug
In Jupyterlab, syntax highlighting does not work at all.
Expected behavior
Syntax highlighting should work.
The text was updated successfully, but these errors were encountered: