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? When enabling Smart Mode with JetBrains Fleet, projects with this plugin applied fail due to the expectation that the `.idea` directory will exist: ``` java.io.FileNotFoundException: /home/coder/Projects/bb/edge/edgezuul/.idea/palantir-java-format.xml (No...

## What happened? The following ```java public enum EmptyEnum { // Some comment required to repro ; public static void someMethod() {} } ``` gets formatted to ```java public enum...

## What happened? Both of the following indentation levels are allowed, and depending on what the state of the code was before running the formatter, it is non-deterministic which one...

## What happened? README.md -> IntelliJ plugin section has wrong paths to the menu. At the very least, for Macbook, it should be: To manually enable it in the current...

## palantir-java-format: case null, default com.palantir.javaformat.java.FormatterException: 146:19: error: expected token: 'default'; step palantir-java-format: found problem in /my-class-path//SomeConsumer.java at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:333) at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:316) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:212) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:174) at...

Hi team, `case null, default -> ` is a common pattern in switch expressions (explicit null is required for compatibility with older switch statements). But it crashes the formatter, e.g....

## What happened? Starting with IntelliJ v2024.1.2 (this didn't happen with v2024.1.1), when my IntelliJ window loses focus (i.e. due to alt-tab) this plugin is running on files that haven't...