Hi everyone,

First, it's really great to post here again :). Sorry I didn't see this
thread earlier, but thanks to the recent activity it surfaced again in my
inbox. I really love seeing the discussion here! Feel free to reach out to
ping me or other JupyterLab developers on topics like this.

Disclaimer: I'm one of the principal developers of JupyterLab.

A few thoughts:

1. It is awesome to see Sage offer JupyterLab as an option for notebooks.
Eventually the classic notebook will be retired, so working on offering
JupyterLab is a good thing to do. JupyterLab 3.0 will drop support for
python 3.5, so (if I'm reading things right) it's great Sage is supporting
Python 3.6.

2. Karl-Dieter, to answer your question about notebooks: we've worked
really hard to make the transition from "classic Notebook" to JupyterLab
smooth, so yes, it not only opens notebook files, but we also went to great
lengths to have feature parity with notebook.

3. (I'm also helping organize JupyterCon.) I think it would be great to
have a sprint at JupyterCon on math and JupyterLab, or integrating Sage and
Jupyter. We'll be posting the program schedule and list of talks soon. The
sprint organization is happening separately from the talks, so if you want
to propose one, make sure to get it in by the sprint proposal deadline.

4. We're really excited about some of the improvements coming in JupyterLab
3.0 (targeted for release before JupyterCon), especially in the
single-document mode that makes it much more approachable, similar to the
simplicity you get in the classic Notebook. You can try the JupyterLab 3.0
beta (released a few days ago) with `pip install --pre jupyterlab`.

6. For syntax highlighting - here is a comment showing how to add syntax
highlighting for a filetype:
https://github.com/jupyterlab/jupyterlab/issues/4223#issuecomment-547934247.
However, I agree it's not very elegant, and we should make that a better
api.

Thanks,

Jason





On Wed, Sep 2, 2020 at 5:59 PM Samuel Lelièvre <samuel.lelie...@gmail.com>
wrote:

> 2020-08-03 00:22 UTC, Matthias Koeppe:
> >
> > Thanks to Joshua Campbell's work in
> > https://trac.sagemath.org/ticket/30246
> > the current beta (9.2.beta11) has a fully functional
> > JupyterLab as an optional package - including interacts.
>
> Wonderful.
>
> > This could use broader testing now. See
> >
> https://wiki.sagemath.org/ReleaseTours/sage-9.2#IPython.2C_Jupyter_notebook.2C_JupyterLab
> > for (brief) instructions.
>
> I will do some testing. On my wishlist would be,
> both in Jupyter Notebook and in JupyterLab,
> to make it so the text editor will apply Python
> syntax highlighting to .sage file as it does to
> .py and .pyx files. Someone asked about it at
>
> - Ask Sage question 52334
>   Syntax Highlight in JupyterLab Editor
>   https://ask.sagemath.org/question/52334
>
> Questions to this effect remained unanswered
> on the Jupyter mailing list and discourse server:
>
> - https://groups.google.com/d/topic/jupyter/G_euKH35vU0/discussion
> -
> https://discourse.jupyter.org/t/associate-a-file-type-with-a-specific-syntax-highlighting-in-the-text-editor/965
> -
> https://discourse.jupyter.org/t/syntax-highlighting-for-text-files-in-jupyter-notebook-and-jupyterlab/5186
>
> If someone can figure that out, that would be great!
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to sage-devel+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-devel/CAEcArF39Q0fzwUiTkUbEc9ij1HG4HpbHTzWbui5xA04Ocjt8yw%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/CAPDWZHzc_gUzwt8dr_k3jc8L5eshLOo5StxVz317Kwh9%3DMibvQ%40mail.gmail.com.

Reply via email to