-
Notifications
You must be signed in to change notification settings - Fork 843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Eclipse drop in downloaded from 1.16.0 does not format long line of "throws" like the command line #926
Comments
I was able to build a working eclipse dropin myself by:
|
Before it was not working, did you update your Eclipse plugin from 1.13.0 to 1.16.0 by simply dropping the new JAR in If this is correct, this issue essentially becomes a duplicate of #744. |
The issue is that the wrong version (that I corrected above) was being used to build the Eclipse dropin
|
Why not use Maven interpolation to fix the version issue? For example:
Or:
|
My understanding is that Eclipse is still and always built with/against gjf 1.13.0; it has never been updated: https://github.com/google/google-java-format/blob/master/eclipse_plugin/pom.xml |
Ah yes of course, line 25 is picked up in line 42! So when I changed the source as shown, I also changed which version was being used, which is why it started working |
Please try with version 1.18.1 of the plugin. It has the correct version number and should work. |
Eclipse drop in downloaded from 1.16.0 does not format long line of "throws" like the command line.
And I don't see a command line option to make it format like the Eclipse drop in.
(Also in the 1.16.0 release, the Eclipse drop claims to be 1.13.0)
The text was updated successfully, but these errors were encountered: