Discussion on Parameter Alignment in Method Signatures #17053
Replies: 3 comments 3 replies
-
|
Please refine your discussion description by replicating our bug report template. This allows any participant to easily see what check and configuration is under discussion. |
Beta Was this translation helpful? Give feedback.
-
|
"Parameter Alignment in Method Signatures" The pre-built checks are very limited in what they can check around this area, and its impossible to give more guidance on what you specifically want from this without any details. Either way, you can always build your own check to do your own validations. |
Beta Was this translation helpful? Give feedback.
-
|
there multiple strategies on how align parameters, we do not have any to make it, I pretty sure there is issue on this somewhere in issue tracker. idea for Check that just come to my mind now is .... "if second parameter is vertically aligned to first, demand same for all others" |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
While reviewing the Kafka UI repository, specifically issue #27, I came across the following code formatting that is not currently flagged by the Checkstyle plugin:
This formatting shows inconsistent alignment in the method signature, particularly with the parameters
String groupIdandString topicName. The method parameters are not aligned vertically, with varying amounts of spaces before each parameter.Is it true that Checkstyle does not flag this kind of formatting issue?
Beta Was this translation helpful? Give feedback.
All reactions