palantir-java-format icon indicating copy to clipboard operation
palantir-java-format copied to clipboard

A modern, lambda-friendly, 120 character Java formatter.

Results 97 palantir-java-format issues
Sort by recently updated
recently updated
newest added

## What happened? If the code contains string templates, `spotlessApply` will throw errors. ## What did you want to happen? should works fine.

- Bump Intellij plugins (I get a compilation error otherwise) - Bump gradle wrapper to v8.5 Seems to work for me? ``` ❯ cd ~/src/github.com/palantir/palantir-java-format ❯ java -version openjdk version...

no changelog

## What happened? Upgrading Gradle wrapper to version 8.5 does not currently work: ```bash ./gradlew wrapper --gradle-version 8.5 FAILURE: Build failed with an exception. * Where: Build file '/Users/mseverson/Projects/palantir/palantir-java-format/gradle-palantir-java-format/build.gradle' line:...

As far as I know the Eclipse plugin (cf. #949) is not being published to any P2 repository nor Maven Central. Would it be possible to either publish it to...

## What happened? I have activated palantir java format: ![image](https://github.com/palantir/palantir-java-format/assets/1366654/03814d5c-e34e-47c8-9dd8-9c65e1ec43ee) This does not change the code style configured in the IDE: ![image](https://github.com/palantir/palantir-java-format/assets/1366654/31d609c1-b7e2-4b4c-895f-0be0f39eadcc) When executing "optimize imports", the configured style is...

As discussed in #724 (as I understand it), I added an option to the IDEA plugin to enable formattting JavaDoc comments. * This adds an option to the IDEA plugin...

## What happened? I'm seeing some exceptions in IntelliJ attempting to format: ``` Exceptions occurred on invoking the intention 'Add Javadoc' on a copy of the file. com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Write access...

## Before this PR We have noticed the formatter becomes really slow on functions that nest a lot, causing some files to take +10 seconds to format. A simple refactor...

Java 21 / [JEP 441 : Pattern Matching for switch](https://openjdk.org/jeps/441) code result in `com.palantir.javaformat.java.FormatterException` ## What happened? This method compiles using JDK 21: ```java class Example { static String test(CharSequence...

# Problem: using palantirJavaFormat with spotless maven : last character not a `\n` -> check fails when creating a new java class using Intellij with palantir-java-format for formating all java...