I'm new to Visual Studio, and trying to figure out the auto-formatter. Somehow, I seem to have run into a issue formatting some super basic code (it's C#
):
someObj.someMethodCall(
param1
param2
param3
... (more params)
);
I would expect the auto formatter to do this:
someObj.someMethodCall(
param1
param2
param3
... (more params)
);
But instead it does.... nothing? I tried invoking the formatter manually (and it was formatting other lines, so I know it ran), looked through settings, tried to find others online with the same issue, but so far I still have no idea why it's not working.
There is option of indentation manually.
Click on the parameter and there is a light bulb on the left -> Warp every argument
By the way, if you enter text manually, Visual Studio will automatically format it.
someObj.someMethodCall(
param1
);