Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Steve Ebersole
https://github.com/hibernate/hibernate-ide-codestyles On Tue, May 19, 2015 at 3:41 PM, Sanne Grinovero wrote: > I'd be happy to share my Eclipse templates in the same repository. > AFAIR we had similar problems, I always thought my templates were "the > reference" but then at some point we had m

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Sanne Grinovero
I'd be happy to share my Eclipse templates in the same repository. AFAIR we had similar problems, I always thought my templates were "the reference" but then at some point we had multiple versions, I suspect because of freshly exporting the same from a newer version of the IDE but we'll never know.

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Steve Ebersole
I just did some bulk reformatting to get things conforming with styles. But moving forward I agree that we should not be reformatting entire files. Eclipse used to do that by default (cough cough). And yes I understand that there is another axis for IDEs. I just figured that one was self-evident

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Gunnar Morling
+1 for having the style(s) in Git. There is another axis, though, which is the used IDE. So far we couldn't find a way to make Eclipse and IntelliJ do exactly the same thing wrt. formatting. There is just not the exact same set of options available in both IDEs, so outputs will always differ a bit

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Steve Ebersole
My thinking was more about how to find which one supersedes which others. If I (as a contributor) have a few of these code style files available to me from the Hibernate team, how do I know which is the latest? As I pointed out, I actually had to update my code style slightly after migrating to 14

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread Hardy Ferentschik
Hi, Hibernate Validator used initially the same style as ORM. I am saying used to since the file attached to this url - http://hibernate.org/validator/contribute/ - seems to differ a fair bit from the file you are referring to. A lot of the difference might just be indentation and re-ordering is

Re: [hibernate-dev] Sharing IDE code styles

2015-05-19 Thread andrea boriero
I'm using your version On 19 May 2015 at 04:01, Steve Ebersole wrote: > The recent discussion on Checkstyle got me thinking about best ways to > share/distribute code styles for IDE setup. Storing them in the project > itself is not very workable for IntelliJ at least. I started thinking > abo

[hibernate-dev] Sharing IDE code styles

2015-05-18 Thread Steve Ebersole
The recent discussion on Checkstyle got me thinking about best ways to share/distribute code styles for IDE setup. Storing them in the project itself is not very workable for IntelliJ at least. I started thinking about a separate repository under the hibernate GitHub organization. Does everyone