Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

modify indent_width #58

Open
sorynturda opened this issue Jul 26, 2023 · 5 comments
Open

modify indent_width #58

sorynturda opened this issue Jul 26, 2023 · 5 comments

Comments

@sorynturda
Copy link

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

@jason-kane
Copy link
Owner

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

@jason-kane
Copy link
Owner

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

@sorynturda
Copy link
Author

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

@jason-kane
Copy link
Owner

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

@sorynturda
Copy link
Author

sorynturda commented Jul 27, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants