These are chat archives for fiji/fiji

15th
Dec 2015
Mark Hiner
@hinerm
Dec 15 2015 15:18
@rimadoma I made a branch showing the differences to the file after formatting and cleaning up in eclipse with the IJ template
Richard Domander
@rimadoma
Dec 15 2015 16:54
@hinerm Thank you! Hmm, I wonder what went wrong... it is this epf-file (https://github.com/imagej/imagej/tree/master/config) that is supposed to do that for you, right?
Mark Hiner
@hinerm
Dec 15 2015 16:57
@rimadoma Yeah that's it! And I admit I have no idea how IntelliJ works personally, but I assume you did something like this
One thing that has burned me in Eclipse before is importing the preferences but not actually selecting the new profiles
Another thing is that we used to have dedicated .xml files for the Code Style and Formatting... which are imagej/imagej@ee57c66 given eclipse prefs, but maybe needed for IntelliJ?
Richard Domander
@rimadoma
Dec 15 2015 16:59
@hinerm No actually I tried using this plugin https://plugins.jetbrains.com/plugin/?idea&id=6546. I looked at that page you linked as well, but it was for importing settings in XML. I guess I'll have to look into it
@hinerm I could give those XML files a try, thanks
Mark Hiner
@hinerm
Dec 15 2015 17:00
yeah if those XML files work let me know and we can restore them or something
One other thing is the article I linked says not all Eclipse formatting maps directly to IntelliJ.. so it may simply never work 100%
if that's the case we should just document it on the wiki
Richard Domander
@rimadoma
Dec 15 2015 17:06
Yeah, still, I'm surprised that if my code was an example of the plugin "working" then the mapping is quite far from 100 %
Mark Hiner
@hinerm
Dec 15 2015 17:17
yep hopefully the diff from those commits will help identify the problems :) if you need another formatting example let me know