You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We encountered a class in our codebase with a generic parameter T on one of its methods. T has bounds that involve classes with long names, and when we format this class with Palantir format, we get the following:
What happened?
We encountered a class in our codebase with a generic parameter
T
on one of its methods.T
has bounds that involve classes with long names, and when we format this class with Palantir format, we get the following:What did you want to happen?
I could see a few better alternatives.
Be consistent with the indentation after methods:
Or perhaps leave the generic type on the original line:
Other suggestions welcome, but I hope it's clear why the original is not ideal.
The text was updated successfully, but these errors were encountered: