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
package foo.bar.goo import foo import foo.bar import foo as bar import foo.bar as bar import foo.*import foo.*
This is the output from this test case in CorpusParseAndWriteWithExtrasTest:
package foo.bar.goo
import foo
import foo.bar
import foo as bar
import foo.bar as bar
import foo.*
import foo. *
However, it is quite counter-intuitive and not very user-friendly to have this kind of output.
It would be nice to have a convenient way to write imports in a human-readable way.
I can image two possible ways to the solution:
a) patch the Writer to always produce a new line after import
b) provide a convenient helper to create a new import/wrap old imports with new lines.
Let me know what you think. I can open a PR to fix that.
The text was updated successfully, but these errors were encountered:
Apparently, this is a valid Kotlin code:
This is the output from this test case in
CorpusParseAndWriteWithExtrasTest
:However, it is quite counter-intuitive and not very user-friendly to have this kind of output.
It would be nice to have a convenient way to write imports in a human-readable way.
I can image two possible ways to the solution:
a) patch the Writer to always produce a new line after import
b) provide a convenient helper to create a new import/wrap old imports with new lines.
Let me know what you think. I can open a PR to fix that.
The text was updated successfully, but these errors were encountered: