Skip to content

Inception for Maven #2510

Open
Open
@FlorianWege-HS-KL

Description

@FlorianWege-HS-KL

Hello,

working on a multitude of Maven projects in a larger, dated codebase. We would like to streamline the formatting with Spotless, but there are embedded SQL strings in the Java code that should be left untouched without having to write the // spotless:off/on comments everywhere.

The Gradle plugin has an "Inception" feature: https://github.com/diffplug/spotless/tree/main/plugin-gradle#inception-languages-within-languages-within, which allows special treatment of hunks of code captured by a specified regular expression.

Is this planned to be added to the Maven plugin as well? If so, is there an estimated time of arrival?

Thanks

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