Eclipse Mars 4.5 has been released. Could you update the plugin to use the new jar files from the 4.5 distribution?!
I couldn't get the correct combination of jars to update it in my https://github.com/markiewb/eclipsecodeformatter_for_netbeans plugin.
-> Nevermind: Now it is working. I had to add core.runtime as lib and I had to fake a LogFilter interface. markiewb/eclipsecodeformatter_for_netbeans#63
Sadly Mars code formatter is...different. Will there be an option for using formatter from 4.5?
The problem is that code formatter in 4.5 actually formats differently than code formatter in 4.4. See
http://eclipse-n-mati.blogspot.com/2015/06/eclipse-mars-how-to-switch-back-to.html for more details.
I don't know what the solution is (new version? bundle both formatters and provide an option?).
#51 java formatter from Eclipse Mars 4.5
damn, I just pushed new libs :-)
We could bundle both versions and use a custom classloader to avoid conflicts.
Actually we could bundle that old formatter eclipse plugin, that's easy.
Will there be a new version of plugin soon, or will I need to build/install manually?
#51 libs from Eclipse Mars 4.5
Not sure when I will have time to bundle that old formatter.
I need the new formatter though.
So clone the project and build with intellij plugin builder?
Instructions? I imported the project but it doesn't even compile. I ran dependency downloader pom and it looks like it fetched stuff but it didn't fix it
you need to configure IntelliJ SDK - https://www.jetbrains.com/idea/help/configuring-intellij-platform-plugin-sdk.html - create new Intellij Platform SDK (just like with Java JDK, and select your installed IntelliJ)
all jars are commited, I just pushed fixed module config, so it should work out of box, otherwise just add those jars as libraries.
it should look like this:
#51 old java formatter support
@dkornishev you can download the builded plugin here: https://github.com/krasa/EclipseCodeFormatter/releases/tag/22.214.171.1247.0
I will release it in several days.
#52 some of the new libs are compiled with JDK 1.7, I will need to make better OldFormatter jar which does not depend on them or something.
So I have reverted several old jars from Eclipse 4.4 and used a custom classloader + some ugly reflection.