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.6.0.tar.gz
.
File metadata
- Download URL: jupyterlab_code_formatter-1.6.0.tar.gz
- Upload date:
- Size: 25.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 056b0c3625db795b0c7edb08d1bf4684ed342090742a3e7e3843151241c4ea2d |
|
MD5 | 273cd451efe9b0d6e4e52dbee479486c |
|
BLAKE2b-256 | dd821029c7045936b105e1cbd1f16bbdd047970f15cc72adc33ac7b45827d5d9 |
File details
Details for the file jupyterlab_code_formatter-1.6.0-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_code_formatter-1.6.0-py3-none-any.whl
- Upload date:
- Size: 39.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 | d8987cfd4a914ab20b893b683d07d6782fe53c9c430c57d263d9a2d0dd8c08e8 |
|
MD5 | dc26ac13332107658f527d47cd2407c0 |
|
BLAKE2b-256 | b53def68a83ab81ce83d611baf62483c4df7da461232117aeab48e95c771a725 |