Plugin Icon if
  • Tools Integration
  • Code Quality
  • Formatting

BlackConnect

Обновлено:
1 день назад
Версия:

0.6.2

Обзор
Версии

Обзор

Connect to blackd and format your Python code without creating a new black process!


Avoid overhead of starting a new black process on each file save by making a quick HTTP call to blackd instead.


Features supported:


– Automatically starting blackd when IDE opens.
– Automatic Python type stub (.pyi) detection.
– Configurable options: hostname, port, preferred line length, etc.
– Trigger automatically when saving changed files.
- Ability to reformat only selected code fragment.
– Support for [tool.black] section in pyproject.toml.
– Rough support for "Jupyter" file type.


Steps to use:

  1. pip install "black[d]"
  2. Start blackd daemon.
  3. Press "Alt + Shift + B" to reformat your code...
    ...or enable "on file save" option.
  4. Enjoy!

Версии

Версия
Диапазон совместимости
Дата обновления
2024
0.6.2
222.4554.11+
13.04.2024
Скачать
Plugin ID:
me.lensvol.blackconnect
icon