jason-kane/PyYapf

modify indent_width

Opened this issue · 5 comments

I am trying to configure this package. In PyYapf settings I cannot modify "INEDNT_WIDTH". Also, I added on the other tab the configuration. Still not working.
image

I would try a .style.yapf based config per https://github.com/google/yapf#formatting-style as a potential workaround.

In retrospect I think the baked in formatting config stuff was a misfeature. Apologies to all those who suffered. ;)

image
also, do you have a solution for that? It formats the code like this ^^

That would be https://github.com/google/yapf itself. This repo is just the sublime wrapper for it.

I was steuggling for hours to tune the "knobs". Please, if you can, make a short video morifying one of the settings, let's say space before comment. I'm just new with packages and working in terminal on windows.
thanks for answering!