Docblock indent wrongly recognized as 1 space #7381
Unanswered
Abdillah
asked this question in
Troubleshooting
Replies: 1 comment 3 replies
-
this file is being correctly recognized to have a four space indent for me |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Helix use automatically detected indent throughout the session due to this change #5918. The indentation detection itself is proposed on 2329512.
But, helix doesn't correctly recognizing the indent when presented with file containing document block (docblock) comments.
Package.php
Edit: Wrong code, please refer to this comment.
The wrong code
This file wrongly recognized as having 1 space indent. While another is fine.
I have seen that Helix use histogram to detect the indent.
Is there anything we can do on this algorithm?
Beta Was this translation helpful? Give feedback.
All reactions