[Hawkular-dev] eclipse config files available

Lucas Ponce lponce at redhat.com
Mon Jan 19 03:59:33 EST 2015


Hi,

Is there a summary of all changes needed for formatting rules ?

I want to create a native template for IntelliJ IDEA users (to avoid to install a eclipse plugin importer).

In my mind there are:

- Indentation of java files.
- Indentation of xml files.
- Other files.
- Trim lines.
- Licenses.

Any missing item ?

- Templates ?

Thx,
Lucas



----- Original Message -----
> From: "Peter Palaga" <ppalaga at redhat.com>
> To: "John Mazzitelli" <mazz at redhat.com>, hawkular-dev at lists.jboss.org
> Sent: Friday, January 16, 2015 7:39:05 PM
> Subject: Re: [Hawkular-dev] eclipse config files available
> 
> Hi John,
> 
> thanks for the prefs.
> 
> I pushed a small fix to the template containing the license header
> https://github.com/hawkular/hawkular-build-tools/commit/861c38e5a2c284a763ae41ec7130984062f0d144
> 
> 
> Besides that, I suppose @author ${user} [1] is not the prefered option
> for the most of us because ${user} resolves to the user name on the
> current machine.
> I found this [2] handy plugin that makes the values from Git config
> available in code template variables. So, I propose that we make this
> plugin recommended and that we change the template to something like
> 
> * @author ${git_user_name:git_config(user.name)}
> ${git_user_email:git_config(user.email)}
> 
> WDYT?
> 
> Thanks,
> 
> Peter
> 
> [1]
> https://github.com/hawkular/hawkular-build-tools/blob/master/ide-configs/eclipse/hawkular-eclipse-preferences-java-codestyle-codetemplates.xml#L9
> [2] https://github.com/harmsk/eclipse-git-template-variables
> 
> On 01/16/2015 06:38 PM, John Mazzitelli wrote:
>  > I committed some Eclipse config files in hawkular-build-tools (under
> ide-configs/eclipse) - see
> https://github.com/hawkular/hawkular-build-tools/tree/master/ide-configs/eclipse
>  >
>  > You import these into Eclipse to get formatting rules. These should
> be closely aligned to the checkstyle rules, but if they aren't 100%,
> feel free to commit fixes to them.
>  > _______________________________________________
>  > hawkular-dev mailing list
>  > hawkular-dev at lists.jboss.org
>  > https://lists.jboss.org/mailman/listinfo/hawkular-dev
>  >
> _______________________________________________
> hawkular-dev mailing list
> hawkular-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/hawkular-dev
> 


More information about the hawkular-dev mailing list