Code formatter for JupyterLab
Project description
A JupyterLab plugin to facilitate invocation of code formatters.
Documentation: Hosted on GitHub Pages
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 cofee
- 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
File details
Details for the file jupyterlab_code_formatter-1.5.1.tar.gz
.
File metadata
- Download URL: jupyterlab_code_formatter-1.5.1.tar.gz
- Upload date:
- Size: 25.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9e1d33537a6ec5ed77b26c4befe721dd99bf32a2c54b37355c8fbf09705a8d2 |
|
MD5 | f88e97164cf9e7ad6e4bd97da6a67b22 |
|
BLAKE2b-256 | f1c2d358f911207dbdf148f17f75ae715694a4e3623af486a457db65b7d0c415 |
File details
Details for the file jupyterlab_code_formatter-1.5.1-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_code_formatter-1.5.1-py3-none-any.whl
- Upload date:
- Size: 52.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ead128825724266d5e1210b998cde898f565679792a6dfcc3b454cbcaee0e59a |
|
MD5 | b6dc88ec355194b72e63e74e278987e8 |
|
BLAKE2b-256 | 35d3cb0a96ecd28f07bc685c6846966118d3e2a9db986360a70630f136532835 |