black-pycharm
JetBrainspablogsalgado · v—
Reformat (local) python code using black. Requirement: + `black` must be pre-installed.
Rating distribution
Reviews 8
I love this plugin, it's really easy to use and effective since Black' way to do integrate it (through External Tool) does not support Undo, i.e. ctrl or cmd + Z. Unfortunately, it's not working on Pycharm 2021.1
Simple plugin that works well! You can now edit the black binary to be used, which solves most problems from the other reviews. You can use toml files to configure the settings The default shortcut on mac didn't work with me, but after replacing it with cmd+option+B, everything worked nice and intuitive!
Works well for me on Linux. My black is located at /usr/bin/black, so I created a symlink to /usr/local/bin/black and it worked just fine.
I use this regularly, and sincerely hope marked as compatible with latest PyCharm versions soon. (works fine as is, but gets disabled at every restart)
Works fine but I had do search the reviews to find out how to use it (on Mac). Please add usage instructions and it will be a 5 star plugin.
John Thornton, I had to dig into the source code to figure out what this plugin actually does: It replaces pyCharm default formatting with Black! So it triggers with Meta+Alt+L, and if you look at Code >> Reformat Code you will see that it now says Reformat Code (BLACK).
No instructions. How do you get it to work?
Does not work on windows as it is hard coded to run /usr/local/bin/black would be helpful if this path was editable.
Similar in “Code Editing”
Rainbow Brackets
izhangzhihao
Full Line Code Completion
JetBrains
Package Checker
JetBrains
Amazon Q
AWS
OpenAPI Specifications
JetBrains
Makefile Language
JetBrains