editorconfig for C++ function indentation

30 views Asked by At

How do I use editorconfig to control indentation of C++ function declaration in Visual Studio: e.g.

int
funktion(
    int     x,
    long    y
);

We tried to set up in .editorconfig

indent_style = space

indent_size = 4

and get

int
    funktion(
        int     x,
        long    y
    );
0

There are 0 answers