This repository has been archived by the owner on Oct 10, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Zero-width version of $W #588
Comments
This is also needed for parameter lists. The first parameter never wraps. |
What are your thoughts on having In |
I think that might be too clever. Maybe just like |
Fine by me. Cool if I send a PR? |
Please do! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm looking into the possibility of removing google-java-format from Dagger (google/dagger#368) and
$W
is a useful tool in adding line breaks when necessary, but sometimes I want the option of breaking if necessary, or no space at all.Consider this example: I want to write the following method invocations without thinking about how many arguments I'm about to pass:
$W
works for args1..N
but in the first example, adding in a$W
betweencreate(
andarg0
would create an awkward space.square/kotlinpoet#281 is a similar attempt that maybe can be applied here as well?
The text was updated successfully, but these errors were encountered: