How can I configure the PHP code auto formatting in Visual Studio 2019 to consistently place opening braces on a new line, as is common in C# style formatting? I have already tested the new auto formatting feature but I could not find a straightforward way to implement this style. Any guidance would be appreciated. Thank you.
Example:
if ($value == 0) { }
Hi Peter,
Thank you for your question. What you are looking for is is New Lines category in formatting options:
New Lines
Make sure you have updated to the latest version from yesterday.
Please let me know if that helped.
Thank you!