r/vscode•
Nadnerb93

New line brackets with Unity.

Hello,

I am trying to find a way to to prevent the styler for C# from puting my brackets on a new line.

This is the default way it will style it:

    // Update is called once per frame
    void Update()
    {

    }

And I just want it to keep the first bracker on the same line:

    // Update is called once per frame
    void Update(){

    }

Anyone have any idea how to get this to work without turning of formating all toether?

Posted Apr 9, 2025, 8:17 PM UTC

00
Loading comments…