In Jupyterlab, It is possible to change the tab space for each constituent of a Jupyter notebook through Settings ->
Advanced Settings Editor ->
Notebook option and editing the tabSize
attribute. However, this changes the tab size for the notebooks for every kernel.
I would like to have 2 tab spaces for Scala kernel and 4 tab spaces (the default) for the rest. It such a setting possible?
Bug: Tab Size in Jupyter Notebook Does Not Respect SettingsGo to VS Code Settings (File -> Preferences), adjust Editor: Tab Size (editor.
To change the kernel version in Jupyter Python Notebooks follow the steps below : Open the Python Notebook and click on " Kernel " from the menu bar located on top of the python notebook. Click on " Change kernel " from the drop down box that appears and chose the version that is required.
Ctrl + ] indent. Ctrl + [ dedent. Ctrl + A select all.
And later, you may try these below-mentioned shortcuts for Edit mode in Jupyter Notebook: Shift + Tab: For enabling tooltip feature so that it can provide explanations about the attached active elements.
No, but you should file an issue about it on the Jupyterlab github, since the devs are pretty responsive to this kind of thing. For example, I got them to implement a way to turn off the crazy-making autoClosingBrackets
behavior in all of the editors just by asking nicely.
The definitions/defaults for all of the notebook settings are currently implemented in this json file in the Jupyterlab source. The relevant tabSize
setting can be found inside the codeCellConfig
field, the description of which is:
The configuration for all code cells.
and it does indeed apply to all code cells, regardless of kernel/language.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With