Skip to main content

A JupyterLab plugin to facilitate invocation of code formatters.

Project description

A JupyterLab plugin to facilitate invocation of code formatters.


Documentation: Hosted on ReadTheDocs


Demo


Quick Start

I recommend you going to the documentation site, but this should work too.

  1. Install the package
pip install jupyterlab-code-formatter
  1. 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
  1. Restart JupyterLab

This plugin includes a server plugin, restart JupyterLab if you have followed the above steps while it's running.

  1. Configure plugin

To configure which/how formatters are invoked, see configuration.


Getting help

If you don't use Discord then feel free to open a GitHub issue, do note I am a bit slower in responding in GitHub.


Your Support

I could really use your support in giving me a star on GitHub, recommending features or fixing bugs.


Contributors

This extension was originally developed and maintained by @ryantam626. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_code_formatter-3.0.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

jupyterlab_code_formatter-3.0.0-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_code_formatter-3.0.0.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-3.0.0.tar.gz
Algorithm Hash digest
SHA256 c4799d3e55a5390b9961557b35e3255f901f233014bc3db035df275badd003fd
MD5 8c4ac56c492141e30f16fe177eccc23a
BLAKE2b-256 e1ef70e0f8c29703b1936955a8450c536c50ec07baf1ed6bd04d317ca11f7d83

See more details on using hashes here.

File details

Details for the file jupyterlab_code_formatter-3.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_code_formatter-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 76632d8785874a641b1dce00cdcc08030476f75f71cfe79dab1d4739d3c9b990
MD5 1ee77b3061109da0df355ce2f6d033ec
BLAKE2b-256 33587729f98336910a7f9b592d263324755ca46cf0bbe3a01b9c4139b33fe76d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page