How do you fix indenting? #399
Closed
adam-nielsen
started this conversation in
General
Replies: 2 comments 3 replies
-
@adam-nielsen I can reproduce the behaviour you are describing. This sounds more like something which should be filed as a bug report. |
Beta Was this translation helpful? Give feedback.
1 reply
-
For some reason it sounds to me (from the old days), that the sniff, by default only reports missing spaces, and not exceeding ones. And there is some sort of “strict” property to look for both. I don’t remember the details, but that may explain the behaviour… will try to look which exact Sniff I’m talking about. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a bunch of poorly formatted code, but I can't figure out how to get basic stuff like the indenting fixed. For example this file:
When I run it, it says:
But all it has done is put that
else
back on the same line, it hasn't fixed the indenting of any statements or of the comments inside the curly braces.What am I doing wrong?
Beta Was this translation helpful? Give feedback.
All reactions