Open pavel-kalmykov opened 3 years ago
While we're waiting for an update, I hope this helps anyone looking to replicate the functionality using PyCharm's File Watchers:
FYI there is another plugin for PyCharm that integrates Black as a formatter: BlackConnect. It works via the blackd
daemon from for faster response times. The plugin is maintained, it works well for me.
From its installation instructions:
Steps to use:
- pip install black[d]
- Start blackd daemon.
- Press "Alt + Shift + B" to reformat your code... ...or enable "on file save" option.
- Enjoy!
If anyone is looking for this plugin's last build, I have a branch in https://github.com/txomon/black-pycharm/tree/feature/upgrade-and-gradle based on #13 that you can use to build the plugin.
This file contains the plugin for the latest branch (2021.2) black-pycharm-1.0.7.zip
I have just updated the PyCharm IDE and saw that this plugin is no longer compatible:
Would it be possible to update it so it is compatible with the last version, please?