You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Providing these could greatly benefit to java tooling as it would allow fast formatting without having to rely on IDEs customization and while being fully compliant with google style guide. This could be easily imported in Visual Studio Code for example.
Platform targets of most interest would be win32-x64, linux-x64, darwin-x64, darwin-arm64.
Reacted by Liam Miller-Cushon, 刘冲 and Michael Vorburger
Activity
vorburger commentedon Feb 9, 2024
Yeah, this would be nice.
Especially as there are now people who distribute native builds themselves elsewhere.
Before thinking "release", there should probably be a way to (easily) build it here in this project?
So #894 would probably be a pre-requisite here.
vorburger commentedon Feb 9, 2024
My #1045 will (should, to be tested and confirmed) make a native builds available at the next release cycle!
Generate native-image binaries for google-java-format
Generate native-image binaries for google-java-format
Generate native-image binaries for google-java-format
vorburger commentedon Feb 18, 2024
FYI JoseVSeb/google-java-format-for-vs-code#17 with links to my posts about this:
"Formatting completed in 45ms." instead of 473ms previously...
That x10 is actually noticeable on Ctrl-S Save a *.java, even on a fast computer - very cool!
@cushon close this issue?
feat (ide): Bump Google Code Formatter from 1.19.2 to (native!) 1.20.0
feat (ide): Bump Google Code Formatter from 1.19.2 to (native!) 1.20.0
natros commentedon Feb 18, 2024
You can get better results if you compile with profile-guided optimizations (PGO)
vorburger commentedon Feb 20, 2024
@natros we welcome your PR to the configuration that's here if you have expertise in this and would like to contribute that!
cushon commentedon Feb 21, 2024
I'm going to close this out for now, PGO sounds worth considering as a follow-up.