Formatting C Function Signatures

Answered

I'd like to format C function signatures automatically as below. I've looked through the Code Style settings. I saw several settings for "Function declaration parameters." Are there other settings also?

void function_name
(
type var,
type var,
type var
)
1
1 comment

Solved via email correspondence. Summary:

Related feature request - https://youtrack.jetbrains.com/issue/CPP-1212

A possible workaround is to try using ClangFormat as alternative formatter - https://www.jetbrains.com/help/clion/clangformat-as-alternative-formatter.html.

0

Please sign in to leave a comment.