Skip to content

Expand wildcard imports #1334

@MaartenAerts

Description

@MaartenAerts

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 Code and Optimize Imports actions.

So I would assume that imports are handled correctly according to the Google Code Style.

Regars, Roman

Originally posted by @r4fterman in #113

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions