palantir-java-format
palantir-java-format copied to clipboard
IDEA no reformat
<plugin>
<groupId>com.diffplug.spotless</groupId>
<artifactId>spotless-maven-plugin</artifactId>
<version>2.28.0</version>
<configuration>
<java>
<palantirJavaFormat>
<version>1.1.0</version>
</palantirJavaFormat>
</java>
</configuration>
<executions>
<execution>
<phase>validate</phase>
<inherited>true</inherited>
<goals>
<goal>apply</goal>
</goals>
</execution>
</executions>
</plugin>
The IDEA shortcut key cannot be formatted.