blacken icon indicating copy to clipboard operation
blacken copied to clipboard

blacken-region

Open leezu opened this issue 7 years ago • 3 comments

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.

leezu avatar Aug 13 '18 18:08 leezu

c-indent-defun also calculates the region so it applies it to a block like a function or class.

EddyPronk avatar Sep 25 '18 06:09 EddyPronk

Hi, it will be good to have.

Can anyone make PR for it?

proofit404 avatar Oct 29 '18 00:10 proofit404

see #25 for a wider discussion about this

wbolster avatar May 03 '19 20:05 wbolster