JavaScript method call arguments alignment
In the settings, under JavaScript > Formatting Style > Other, I have the following setting selected:

This setting allows me to declare functions and have the parameters arrayed below, aligned to the first.
But when it comes to method calls I can't seem to apply the same formatting style: Upon adding a semi-colon to the end of a method invocation the parameters are not aligned as with function declarations.

Now, I realise that the setting relates to function declarations rather than function calls, but is there a setting which would align all the arguments in the call to the first argument?
The formatting in that second screenshot is correct according to the setting under JavaScript > Formatting Style > Line Breaks > Wrapping and Chopping > Wrap invocation arguments. However, isn't there a setting which would allow the arguments to be aligned to the first argument rather than a simple, single tab? There is a setting which offers this in C# but I can't find such a setting for JavaScript.
Please sign in to leave a comment.