spotless icon indicating copy to clipboard operation
spotless copied to clipboard

Keep your code spotless

Results 344 spotless issues
Sort by recently updated
recently updated
newest added

I tried out spotless today for the first time on one of our Kotlin projects and thus used the ktlint plugin. It seems to work quite well so far, however...

enhancement

If you are submitting a **bug**, please include the following: - [x] summary of problem - [x] gradle or maven version - [x] spotless version - [x] operating system and...

bug

4.22 hit last month and it includes a fix for a bug I have hit, [574437 - incorrect formatting in pattern instanceof](https://bugs.eclipse.org/bugs/show_bug.cgi?id=574437).

enhancement

## summary of problem ClassCastException is thrown by combination of ktlint and Dokka. The exception message is as follows: ``` java.lang.ClassCastException: org.jetbrains.kotlin.kdoc.psi.impl.KDocImpl cannot be cast to org.jetbrains.kotlin.com.intellij.psi.impl.source.tree.LeafPsiElement ``` ## gradle...

bug

Hello, Does Spotless support reformatting a text range rather than the whole file? Thinking about creating a [plugin for an IDE](https://github.com/diffplug/spotless/blob/master/plugin-gradle/IDE_HOOK.md) many IDEs support reformatting both the entire file and...

enhancement

- Apache Maven 3.8.4 (9b656c72d54e5bacbed989b64718c159fe39b537) - Java version: 1.8.0_312, vendor: Private Build, runtime: /usr/lib/jvm/java-8-openjdk-amd64/jre - Spotless 2.17.7 Observed in jenkinsci/jenkins#6104 when trying to add `greclipse` formatting to a Maven multi-module...

bug

Many projects use dependabot to manage version updates of dependencies. It helps them to keep up to date with new versions, but also to understand what changed between versions. When...

bug

Hi, I was wondering if it is possible to specify the reporter for ktlint? The `userData` map doesn't seem to send cli args but just editor config args, though I...

enhancement

From my understanding Spotless uses `org.eclipse.jdt:org.eclipse.jdt.core` to do formatting with Eclipse. Currently this only provides whitespace changes, but Eclipse itself also has `Clean Up` which makes code changes. I think...

enhancement

If you are submitting a **bug**, please include the following: - [ ] summary of problem - [ ] gradle or maven version - [ ] spotless version - [...

bug-unconfirmed