Skip to content

Help: Is it possible define format rule for specific language for the Beautify button? #81

@lpdx

Description

@lpdx

The tool is great but I'd like to know if I can configure a rule for the Beautify.
I have a C code as shown in code snnipet 1 formated for readability.

code snippet 1:

snprintf(tmp, 100, ",%u,%u,%u,%u", x.data[i].a
				  , x.data[i].b
				  , x.data[i].c
				  , x.data[i].d);

But when I press the beautify button it is edited as one line:

code snippet 2:

snprintf(tmp, 100, ",%u,%u,%u,%u", x.data[i].a, x.data[i].b, x.data[i].c, x.data[i].d);

Is there some configuration that allow me to keep the multi-line format like code snippet 1?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions