Hello @mab0189 ,
Welcome to Microsoft Q&A forum.
Please try to uncheck this option: Tools => Options => Text Editor => C# => Code Style => Formatting => General => Automatically format block on }.
Please feel free to let us know if it meets your requirement.
Sincerely,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.