jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Support for highlighting code by different color according to types like in VSCode

Open YongcaiHuang opened this issue 8 months ago • 1 comments

Elevator Pitch

any plan to support the highlight code by different color according to types (instance, function, class, package etc.) like in VSCode?

Motivation

the highlight code by different color according to types can quick help me to find and identify what I have write, especially when there are many lines and content in one cell.

in VSCode: image

in Jupyter Notebook: image

by comparing the same code snippet, higher readability in VSCode, even when I change different way of defining. In Jupyter Notebook, function or class is only highlighted following dot .. Also, the colors for package, class, function, instance are different with higher readability.

YongcaiHuang avatar Jun 04 '24 16:06 YongcaiHuang