GitHub / google/google-java-format / commits
Reformats Java source code to comply with Google Java Style.
| SHA | Message | Author | Date | Stats |
|---|---|---|---|---|
| d964ff11 | Include `logVarargs` in google-java-format formatting special case |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
28 days ago | |
| 6bbd4a41 | Add CLI flag to disable modifier reordering |
Matthias Kurz <m****z@i****t>
Committed by: google-java-format Team <g****a@g****m> |
29 days ago | |
| 35ed64a0 | In JavadocFormattingTest, ensure that calling the formatter a second time doe... |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 87197ece | Add a test case to ensure that line wrapping doesn't split Markdown links. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 70eb845e | Update the test for Autolinks so it exposes a genuine problem. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 89e525cd | Roll forward the change for support Markdown tables. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 40739c0a | Automatic code cleanup. |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| ea731d20 | Add support for Markdown tables. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 2519066b | Improve code block handling within lists. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| a8ca4c70 | Pull the box-drawing-character trick again. |
cpovirk <c****k@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 29189232 | Add a test that demonstrates incorrect formatting of a code block in a list. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 7657be40 | Add tables to the to-do list for Markdown Javadoc, plus a test illustrating t... |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| ebe9da75 | Add support for backslash in Markdown Javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| e10f3107 | Add support for code spans in Markdown Javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| c6a72e00 | Extract parts of a big switch into helper methods. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 2 months ago | |
| 3f6b86d2 | Replace the several nesting counters in `JavadocLexer` with a single stack. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| a733cbcb | Add a giant TODO comment listing the remaining Markdown cases we don't handle... |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| 3e290d16 | In `JavadocFormattingTest`, document the main things that still need to be te... |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| 24e81a91 | Initial support for fenced code blocks in Markdown Javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| ffd5425c | Make `addSpan` an instance method of `TokenVisitor`. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| 95528730 | Use more specific `Token` subclasses where possible. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| e9e9d5f7 | Make `Token` a sealed interface rather than a record with a `Type` enum. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| b8454d0f | Add support for numbered lists. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| 53e2a763 | Initial support for Markdown Javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
2 months ago | |
| 142c3920 | Change `NestingCounter` into `NestingStack`. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 742e4f3e | Update a comment about imports that are only used in Javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| f7a4f720 | Tiny optimization to exploit a method added in Java 21. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 989e5b73 | Only identify a `///` comment as Markdown Javadoc if it is in a position wher... |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 9eaf0778 | Use type patterns more widely. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| e6a7af72 | Reduce member visibility where possible. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| c4dedd50 | Update `UsageException` to use text blocks. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 509e7d6f | Convert classes to records where possible. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| bf4b13ba | Require JDK 21 to run google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 7b0d3a33 | Make `Token` be a record. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 57572c3b | Rewrite tests to use text blocks for improved readability. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| e573100e | Don't wrap line comments that start with `/// `. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 2de73367 | Add a test demonstrating the current broken formatting for markdown javadoc. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| d2f234d2 | Remove the requirement for `CharStream` patterns to be anchored with `^`. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 71f52d54 | Maintain a start position in `CharStream` instead of using repeated tailing. |
Éamonn McManus <e****s@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 273ddcfb | Update the IntelliJ plugin to gjf 1.35.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
3 months ago | |
| 2f7e558e | Use JDK 21 for Eclipse plugin |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| 49629931 | Migrate to records in google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| 075e025c | Prepare to changes to `var` in AST |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| b0ef30ae | Don't list the same annotation twice |
Michael Ernst <m****t@c****u>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| 730d3b1e | Refactor Github Action per b/485167538 |
Ben Knutson <b****n@g****m>
Committed by: Liam Miller-Cushon <c****n@g****m> |
4 months ago | |
| fc4b2e9f | Automatic code cleanup. |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| f1f5c67d | Add simple native formatting test |
Claudio Nave <e****1@p****e>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| ff157e3e | Fix reflection errors during native execution |
Claudio Nave <e****1@p****e>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| f0a9748d | Update workaround for JDK-8372948 |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| 9b979734 | Fix index of `keepEndPos` parameter |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
4 months ago | |
| 4a15b1b9 | Prepare for end position API changes in https://bugs.openjdk.org/browse/JDK-8... |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
5 months ago | |
| 62edae4f | Remove workaround for https://bugs.openjdk.org/browse/JDK-8027682 |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
5 months ago | |
| 737b0032 | Support Instance Main Methods in google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
5 months ago | |
| 4b4d087a | Consolidate uses of javac's parser in google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
6 months ago | |
| f5f92bf2 | Internal change |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
6 months ago | |
| 343d9aa7 | Consolidate end position handling in google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
7 months ago | |
| 8e8db817 | Update Error Prone version |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
7 months ago | |
| eb43facd | Create a FormattingFiler factory that disables formatting during header compi... |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
7 months ago | |
| d1d1f4dd | Update Java version in release workflow to 25 |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
8 months ago | |
| 052881ad | Update CI GraalVM Java version to 25 | Liam Miller-Cushon <c****n@g****m> | 8 months ago | |
| 60a00f20 | Add support for AOSP formatting in the Eclipse plugin |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| b723942a | Update the IntelliJ plugin to gjf 1.31.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| 8c302686 | Add SnippetFormatter(JavaFormatterOptions) constructor |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| 7cc1956a | Add support for 2024.2 IDE versions, which were mistakenly excluded. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| 3aab70cd | Update the IntelliJ plugin to gjf 1.30.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| 6afe3807 | Initial support for `import module` in google-java-format |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
8 months ago | |
| 00a908b0 | Remove uses of deprecated plugin APIs. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| d2c676e7 | Update the IntelliJ plugin to gjf 1.29.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| c2709510 | docs: Update README with a bit more details about available flags |
Michael Vorburger <v****r@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| 2186b2ea | Migrate google-java-format to expression switches |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| 7e724223 | Merge Java21InputAstVisitor into JavaInputAstVisitor |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| f4aaf0ff | Upgrade Error Prone dependency |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| b3c73939 | Update JDK versions in CI |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
9 months ago | |
| 4943dbab | Remove a bunch of `assume()`s which are now always true. |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
9 months ago | |
| 13ce22de | Update Error Prone version |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
11 months ago | |
| bc9a5780 | Added JUnit Test Cases for Replacement |
Suraj Devatha <4****3@u****m>
Committed by: google-java-format Team <g****a@g****m> |
11 months ago | |
| e8953460 | Update the IntelliJ plugin to gjf 1.28.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
11 months ago | |
| b6ce0fab | Migrate to Sonatype Maven Central releases |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
11 months ago | |
| 4c96ea43 | Update release.yml |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
11 months ago | |
| 61eabd62 | Stop using ubuntu 20.04 |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 7193ce97 | Update the IntelliJ plugin to gjf 1.27.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 15021075 | Stop using ubuntu 20.04 |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 96f114c3 | Prepare for an incompatible change to Log diagnostic handlers |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 6f46e8aa | Work around a JDK-head failure. |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 8cf65c7f | Automated rollback of commit 4c91240f69bc4982c5c3908087dfccdbcb93e5aa. |
google-java-format Team <j****t@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 4c91240f | Internal change |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| db2713a7 | Migrate to CommandLineOptions to a record and AutoBuilder |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 86338266 | Optimize string wrapping |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| aee16ed8 | docs: Clarify minimum Java version in README (see #1225) |
Michael Vorburger <v****r@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| ec9826b7 | Update the IntelliJ plugin to 1.26.0. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| e77d28a0 | Update release.yml |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 1bdb10b8 | Update release.yml |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 9d16612a | Update release.yml |
Liam Miller-Cushon <c****n@g****m>
Committed by: GitHub <n****y@g****m> |
about 1 year ago | |
| 14ae0a78 | Clarify impact of java version used on /google_java_format README. |
Michael Vorburger.ch <v****r@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| 4e0eb5ae | Text block formatting refinements |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| dae09ec6 | Update Error Prone version |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
about 1 year ago | |
| ccb56c79 | Publish Linux arm64 GraalVM native-image binary |
Halil Sener <h****r@d****m>
Committed by: Liam Miller-Cushon <c****n@g****m> |
over 1 year ago | |
| eb0b7682 | Increase JAXP limits to fix Tycho plugin |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
over 1 year ago | |
| 88614098 | Update the IntelliJ plugin to 1.25.2. |
Michael Plump <p****y@g****m>
Committed by: google-java-format Team <g****a@g****m> |
over 1 year ago | |
| 36deed0c | Remove conditional logic in tests for unsupported JDK versions |
Liam Miller-Cushon <c****n@g****m>
Committed by: google-java-format Team <g****a@g****m> |
over 1 year ago |