jupyter-matlab-proxy icon indicating copy to clipboard operation
jupyter-matlab-proxy copied to clipboard

JupyterLab 4 limitations

Open philipc-mw opened this issue 2 years ago • 4 comments
trafficstars

Both JupyterLab 3 and JupyterLab 4 have jupyter-matlab-proxy support for MATLAB code execution and the browser-based version of the MATLAB development environment.

However, currently only JupyterLab 3 has jupyter-matlab-proxy support for auto-indentation and syntax highlighting. Implementing these features, as part of the community migration to support JupyterLab 4, would improve users’ experience of writing MATLAB code in JupyterLab 4.

Users can install JupyterLab 3 using python3 -m pip install 'jupyterlab>=3.0.0,<4.0.0a0'

philipc-mw avatar Aug 21 '23 10:08 philipc-mw

This issue will be updated when the package has been qualified for use with JupyterLab 4.

prabhakk-mw avatar Sep 12 '23 04:09 prabhakk-mw

Could I make a suggestion to split this package into multiple Python packages; power-users should be able to do without the syntax highlighting and new-file shortcuts in order to use the kernel with JupyterLab 4.

It might not be that helpful for the JupyterLab 4.0 series, but in general decoupling the non-JupyterLab components will ensure smoother forward upgrade paths when we're in this situation again! :)

agoose77 avatar Mar 19 '24 11:03 agoose77

Hi agoose77,

Thank you for your comment - just to clarify, the package can currently be used with JupyterLab 4 to execute MATLAB code, and so can be used by power-users as you describe. If you already have JupyterLab 4 on your system, you can install the package using python -m pip install jupyter-matlab-proxy - MATLAB syntax highlighting will not be available, but code execution should work as expected.

Please let us know if you run into any issues! Thanks, Philip

philipc-mw avatar Mar 19 '24 12:03 philipc-mw

Hi @philipc-mw @prabhakk-mw is there any update on this, in particular for including syntax highlighting in JL 4? Ideally it would be able to have capability similar to the ML extension for VSC. Thanks!

tylerlekang avatar Mar 27 '24 16:03 tylerlekang

Hi @tylerlekang,

Support for MATLAB syntax highlighting in JupyterLab 4 has been introduced in v0.13.0 of jupyter-matlab-proxy.

Please do let us know if you have any issues with this feature!

Thanks, Philip

philipc-mw avatar Aug 07 '24 13:08 philipc-mw