-
Notifications
You must be signed in to change notification settings - Fork 394
Invoke-Formatter: Tab Issue #1055
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
Comments
Anyone else running into this? |
Sorry, I have not triaged this yet but I would not be surprised if what you report, is true as I remember having a similar problem last year. I will try to get back to this month |
Sorry, I was quite busy, I really hope to have a look at this this month |
No problem. I understand.
Thanks for the update and for looking into this.
…On Mon, Nov 5, 2018, 3:53 PM Christoph Bergmeister [MVP] < ***@***.*** wrote:
Sorry, I was quite busy, I really hope to have a look at this this month
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1055 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADxtkK2QdLT1D4N6xPXaLA1LOVha7M_pks5usKVNgaJpZM4V_1dG>
.
|
I can repro now and confirm it is a bug. Related: #769 |
Awesome. Thanks for looking into it and finding the root cause.
: )
…On Mon, Nov 26, 2018, 5:30 PM Christoph Bergmeister [MVP] < ***@***.*** wrote:
I can repro now and confirm it is a bug. Related: #769
<#769>
The problem is the interference of the UseConsistentWhitespace rule
around the operator. I will try to find a generic solution that tackles the
underlying problem and not only this problem in the next days
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#1055 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADxtkMWyDWwzf_7PQyw9Rg045B_JMHqVks5uzGtvgaJpZM4V_1dG>
.
|
You're welcome. For the moment (as a workaround until I have a fix that gets released), I suggest to disable the
If you use VS-Code, then you will also need to turn off the related setting, therefore I suggest to also set the following settings at the moment as a workaround
To summarise the issues at the moment:
I propose to merge both May I ask why you prefer tabs (since VS-Code and its extensions actually make it hard by automatically converting stuff to spaces?)? |
Steps to reproduce
Expected behavior
It should preserve tabs (anywhere) but in this case specifically, between the key and the equal sign
Actual behavior
It is changing out tabs for spaces between the key and equal sign.
Also, I noticed it is also did not convert some tabs to spaces. If there is only one tab between the key and equal sign, it didn't convert the tab to spaces. My guess is the tab isn't a full tab (meaning it would only be 1-3 spaces and not the full 4)
Environment data
The text was updated successfully, but these errors were encountered: