Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Formatting long extension function declarations results in lines that are too long, and should be split across multiple lines instead. #268

Closed
EanLombardo opened this issue Dec 31, 2021 · 1 comment

Comments

@EanLombardo
Copy link

Formatting a line like

suspend fun AbstractFactoryModuleFactoryBuilderFactoryModuleFactoryBuilder.constructBuilderModuleFactory()

Results in the same line, which exceeds 100 characters in width.

The kotlin android style guide for line wrapping indicates that the line should be split at the nearest "operator like" symbol, in this case the line should be formated to.

suspend fun AbstractFactoryModuleFactoryBuilderFactoryModuleFactoryBuilder
   .constructBuilderModuleFactory()
@strulovich
Copy link
Contributor

Sorry for the delay, this will be fixed (for functions at least) with the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants