A JupyterLab plugin to facilitate invocation of code formatters.
Project description
A JupyterLab plugin to facilitate invocation of code formatters.
PSA: This plugin is currently undergoing a major refactor, bear with me while I work on this.
Documentation: Hosted on GitHub Pages
This is currently out of date. I will be updating that shortly.
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.0.0rc1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 451ec2fd96e0a170dbe246fa845430f3021ddef4c1dee39ea67a98ab9ec9a35e |
|
MD5 | 81cef3b108ef4cee2b99f8d53fdb8e25 |
|
BLAKE2b-256 | ef06b707f751c86501fc88cb62c5dbcb0c4ed0ca1dcc57c5b7031c96335fd253 |
Hashes for jupyterlab_code_formatter-2.0.0rc1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d6a509169061f0ee4535156a6a73a012759544924f2a17487aaf8ec6a744ec8 |
|
MD5 | 71a627593ba366edbb135eec77ee9265 |
|
BLAKE2b-256 | 0c2cabf3a19edb3680658f09cad5c6aa0aba92008dcd57b151ea9ea0cc1fa287 |