Product: PowerShell Studio 2019 (64 Bit)
Build: v5.6.170
OS: Windows 10 Enterprise (64 Bit)
Build: v10.0.17134.0
Hello,
Hashtable equal sign align does not always work. After some testing I discovered the following:
1. Alignment is ok when assigning strings:
2. But when I substitute a string (in the above table) with a variable or function and then format (CTRL+SHIFT+J) the alignment is scrambled:
3. After unchecking ‘Align hashtable equal signs’ and formatting, I get:
When testing it occasionally worked, but I cannot reproduce this behaviour, or did I miss something? This function, as it now is, is unreliable, and I have unchecked the option and align manually.
Kind regards
Michel
Problem with equal sign alignment in hashtables
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
- michelverbeek
- Posts: 3
- Last visit: Tue Feb 27, 2024 5:23 am
- Been upvoted: 1 time
- mxtrinidad
- Posts: 399
- Last visit: Tue May 16, 2023 6:52 am
Re: Problem with equal sign alignment in hashtables
Thanks for reporting the issue. Our team will look into it.