If I add a new key that has a long name, I will have to re-align the whole hash table which doesn't make a clean diff. That's the only reason I personally avoid alignment but I understand the benefits tooπ
Comments
Log in with your Bluesky account to leave a comment
If you're using VScode the `powershell.codeFormatting.alignPropertyValuePairs` setting will do it for you automatically. When I was doing it by hand I hated aligning, but once the editor did it automatically I stopped thinking about.
Yea, you can ignore whitespace changes in GitHub. There's a diff tool a teammate shared (that I can't remember) which is supposed to be smart about ignoring stuff like this. But even better then whitespace, it can see that a rename happens and only highlight it once. No PS support yet.
Comments
Unless I dreamt that being a thing