Comma Reformatting
Hi and this might seem petty but up until the last update, I could format array elements and object properties with the comma as the first chractr on each line, now when I reformat it changes them all to the last character instead of keeping my formatting, can someone tell me how to fix this? Thanks and I appreciate any help that you can give.
Please sign in to leave a comment.
Hi! Could you please provide a code sample and the result after reformatting?
Here is the code that got reformatted to have the commas at the end instead of the beginning. I found it appears to isolated to JSON objects
Seems to be similar to https://youtrack.jetbrains.com/issue/WEB-1384. Please vote for it to be noified about updates.
As I indicated it seems as though this is isolated to JSON, I found that these types of constructs will keep the formatting as illustrated in this post. So that aspect appears to be fine, what is left seems only to interact with JSON files themselves.
Also the colon alignment doesn't work the same way
I guess it is not just JSON that is messed up I just got this on an object