Open Jules1337dev opened 1 month ago
This is like the conversation in the style guide https://github.com/SAP/styleguides/issues/353.
I am in favour of these changes.
@Root3287 yes, you are absolutely right...
I will leave this issue open, to keep the pressure up :P
In my company the committed coding standard looks like the following examples:
a method call with one parameter is like this:
method_call( parameter ).
a method call with two or more parameters is like this.
Conditional expressions would look like
a combination would look like this:
value is formatted as method calls:
if the line gets to long, another line break will be done:
i tried many combinations of the rule "align conditional expressions" and "align parameters and components" but there is no possibility to achive the result above as the cleaner have multiple options to format it to the right, but fewer to the bottom :)
Are there plans to enhance those rules, so that above formatting will be possible?