Overview
JupyterLab 4.0, released on August 15, 2023, brings real-time collaboration and a faster text editor.
Main Features
Real-time collaboration
Multiple users can edit the same notebook simultaneously thanks to jupyter-collaboration.
python
# Install collaboration
# pip install jupyter-collaboration
# Start JupyterLab
# jupyter lab
# Other users' cursors are visible in
# real time in the notebook.
# Each user has a distinct color.
CodeMirror 6 editor
The switch to CodeMirror 6 brings a faster editor with better autocompletion and syntax highlighting.
python
# Improved keyboard shortcuts in JupyterLab 4
# Ctrl+Shift+C : command palette
# Tab : contextual autocompletion
# Ctrl+D : multiple selection
# Autocompletion is more responsive
import pandas as pd
df = pd.DataFrame({'a': [1, 2]})
# Typing 'df.' triggers autocompletion
