A JupyterLab plugin to facilitate invocation of code formatters.
Documentation: Hosted on GitHub Pages
I recommend you going to the documentation site, but this should work too.
- Install the package
pip install jupyterlab-code-formatter
- Install some supported formatters (isort+black are default for Python)
# NOTE: Install black and isort,
# JL code formatter is configured to invoke isort and black by default
pip install black isort
- Restart JupyterLab
This plugin includes a server plugin, restart JupyterLab if you have followed the above steps while it's running.
- Configure plugin
To configure which/how formatters are invoked, see configuration.
I could really use your support in giving me a star on GitHub, recommending features, fixing bugs or maybe even providing monetary support!
- Recommending features via GitHub Issues
- Sumitting your PR on GitHub
- Buy me a cofee
- Donating Via Solana: 6K7aK5RpskJkhEkwZi1ZQr68LhaVdfnTfWjZEQV3VbbD
Massive thanks to the below list of people who made past contributions to the project!
This project is licensed under the terms of the MIT license.