-
Notifications
You must be signed in to change notification settings - Fork 112
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
lambda #282
Comments
What do you think could be improved? Can you provide some examples of the current output and equivalent examples where you think the formatting's better? |
|
Thanks. The before in the image above doesn't match the behaviour of this formatter. This formatter formats that code as follows: private static void configureResolvedVersionsWithVersionMapping(Project project) {
project.getPluginManager().withPlugin("maven-publish", plugin -> {
project.getExtensions().getByType(PublishingExtension.class).getPublications()
.withType(MavenPublication.class)
.configureEach(publication -> publication.versionMapping(mapping -> {
mapping.allVariants(VariantVersionMappingStrategy::fromResolutionResult);
}));
});
} Further changes, such as placing |
Can lambda be optimized to render better?
The text was updated successfully, but these errors were encountered: