blacken
blacken copied to clipboard
blacken-region
When working with existing code, it is useful to only re-format a certain region of a file. It would be great if blacken could support re-formatting only the highlighted region of a file.
c-indent-defun also calculates the region so it applies it to a block like a function or class.
Hi, it will be good to have.
Can anyone make PR for it?
see #25 for a wider discussion about this