A JupyterLab plugin to facilitate invocation of code formatters.
Project description
A JupyterLab plugin to facilitate invocation of code formatters.
PSA: I can only dedicate a few hours per week for this plugin, bear with me if your request/issue is taking a while to be fixed.
Documentation: Hosted on ReadTheDocs
Demo
Quick Start
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.
Your Support
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 coffee
- Donating Via Solana: 6K7aK5RpskJkhEkwZi1ZQr68LhaVdfnTfWjZEQV3VbbD
Contributors
Massive thanks to the below list of people who made past contributions to the project!
License
This project is licensed under the terms of the MIT LICENSE .
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for jupyterlab_code_formatter-2.2.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85322819da61f025ebc7c4a842979994fa812ad44c334fdb6ebb9ebad58dae08 |
|
MD5 | 0f826adad83b3cb57149201a87e5d397 |
|
BLAKE2b-256 | fb0af0741ed906dc5f8d3a9ca7150f319af3049b0b4eb56a96503c62219b8c95 |
Hashes for jupyterlab_code_formatter-2.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f196ef80d1ae53028b04425a3f1cfb008fb211b46f942701af5fdd7557b5fe1 |
|
MD5 | cae7067bcbae4cd43dccd5cff52f8d37 |
|
BLAKE2b-256 | 0ac84d5d41a41189953387336df22151322468db87dfa68efc099bc23e9d6c73 |