styleguide
styleguide copied to clipboard
Error with installing eclipse-java-google-style.xml
Even though I am using the most recent build of Eclipse, I get:
This profile has been created with a more recent Eclipse build than the one you are using.
Some older settings might be reset to their default values and newer settings are ignored.
Please note that upgrading profiles from older to newest builds is fully supported.
Just press OK and it will work with no problems.
I know it works, but I think the xml should be updated in such a way that this prompt does not come up again.
Are you sure it works? That all the settings are recognized?
same question! newer settings are ignored
I am using Eclipse Neon.2 Release (4.6.2) (Build id: 20161208-0600) and the problem persists. It looks like my Eclipse saves a CodeFormatterProfile with version 12 but, eclipse-java-google-style.xml is saved with version 13. I find this odd.
Is somebody willing to look over the differences and provide a updated version of eclipse-java-google-style.xml?
this seems to be a duplicate of issue #33.
There is no profile version 13 for eclipse. see https://github.com/eclipse/eclipse.jdt.ui/blob/89da2ef66b1fced4c1d4ff81ea9622ada9841256/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/formatter/ProfileVersioner.java#L44
I have imported the file to eclipse neon and then exported. this is the diff
https://github.com/google/styleguide/blob/gh-pages/eclipse-java-google-style.xml has the following code:
<profiles version="13">
But Eclipse Neon 3 which is the most recent version for now still has:
<profiles version="12">
So the warning shows up.