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

Reformats Java source code to comply with Google Java Style.

Results 223 google-java-format issues
Sort by recently updated
recently updated
newest added

In version n1.24.0 of google-java-format_windows-x86-64.exe a long string literal that contains two backslashes followed by 't' results in an error. Negative example: ```Java String t = "0123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789\\t"; ``` Tool invocation...

# Refactor Multiple Components for Improved Maintainability ## **Description** This PR addresses several implementation smells in the codebase to enhance maintainability, readability, and testability. The refactoring process ensures no functional...

issue is that in many shells you can use triple slashes `///`, i.e. `///usr/bin/env jbang "$0" "$@" ; exit $?` as a trick to be compatible with both shell scripts...

I'm toying (more "for fun") with ~~https://openjdk.org/jeps/330~~ something in https://github.com/enola-dev/enola/issues/971: I am using https://www.jbang.dev, but Im not sure if this issue specific to that tool or really could be considered...

its a special case but in jbang I use `//JAVA` , `//DEPS` etc as special markers. I tried using @formatter:off but seem to have no effect. ``` ///usr/bin/env jbang "$0"...

## Overview Several design smells were identified in the JavacTokens class of google-java-format project. The goal focused on improving code organization, maintainability, and encapsulation while preserving all functionality. ## Location...

## Description Several code quality issues that would benefit from refactoring have been identified in the codebase. These issues impact maintainability and code readability. ## Areas Needing Attention ### 1....

I am not entirely sure wether this is the intended behavior, so here is an issue. The the continuation of the long string doesn't indent with 8 spaces from the...

Detected at: https://github.com/checkstyle/checkstyle/issues/15865, User's got his answer at: https://github.com/checkstyle/checkstyle/issues/15865#issuecomment-2462352189 GJF adds `` prior to `` tag, but the style guide says that block-level tags should not be preceded by ``...

Consolidate uses of javac's parser in google-java-format