Formatting C Function Signatures

已回答

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

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

请先登录再写评论。