-
Notifications
You must be signed in to change notification settings - Fork 916
Description
Hi,
I think the following comment makes a valid point.
The spotless plugin now implemented a fix in gradle and will be implementing one for maven. diffplug/spotless#2829
Hopefully every other plugins will follow eventually.
But how come it can't be fixed in the source, being this library?
Hi @kevinb9n,
your comment contradicts the project documentation.
This is out of scope for a source code formatter. Note it would require access to your entire compilation classpath to work correctly.
Documentation says that this plugin takes care of code formatting and import optimization:
When enabled, it will replace the normal
Reformat CodeandOptimize Importsactions.So I would assume that imports are handled correctly according to the Google Code Style.
Regars, Roman
Originally posted by @r4fterman in #113