Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lpdx opened this issue Sep 21, 2022 · 0 comments

Comments

@lpdx
Copy link

lpdx commented Sep 21, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant