<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 1/21/2016 2:28 PM, Stian Thorgersen
wrote:<br>
</div>
<blockquote
cite="mid:CAJgngAe4v5CrDV4VfWCgWrYVnGPgoPmmBaqsgN+rRm6cO_SkNg@mail.gmail.com"
type="cite">
<div dir="ltr">I'm wasn't planing on having a lengthy discussion
about code style. It's usually just a matter of personal
preference and folks do get used to most things.
<div><br>
</div>
<div>Questions are:</div>
<div><br>
</div>
<div>* Should we have a code style?</div>
</div>
</blockquote>
I've seen too many teams waste time arguing about code style. I
think that our team is mature enough that we wouldn't let that
happen, but having strict enforcement never seems to provide much
payoff, imo. <br>
<br>
I think a middle ground is to just publish some general guidelines
of basic standards we can all agree with. Then if someone strays
too far, just ask them to fix it.<br>
<blockquote
cite="mid:CAJgngAe4v5CrDV4VfWCgWrYVnGPgoPmmBaqsgN+rRm6cO_SkNg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>* What IDEs are Keycloak devs using (I'm crossing my
fingers everyone says IntelliJ)</div>
</div>
</blockquote>
NetBeans<br>
<blockquote
cite="mid:CAJgngAe4v5CrDV4VfWCgWrYVnGPgoPmmBaqsgN+rRm6cO_SkNg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>* Should we enable the checkstyle plugin?</div>
</div>
</blockquote>
Something that checks the license and possibly authorship/copyright
is probably important. Beyond that, I'm not sure how useful
checkstyle would be.<br>
<br>
In NetBeans, every time I create a new class I use a template that
lets me choose the license. Surely other IDE's have a way to do
this?<br>
<blockquote
cite="mid:CAJgngAe4v5CrDV4VfWCgWrYVnGPgoPmmBaqsgN+rRm6cO_SkNg@mail.gmail.com"
type="cite">
<div dir="ltr">
<div><br>
</div>
<div>With regards to the actual style my first thought was to
base it on WildFly code style (we do build on top of it after
all). However, they do not have one for IntelliJ, which makes
it a no go IMO. Further I don't particularly want to craft one
(and try to get configs for IntelliJ match Eclipse, which also
passes the checkstyle). So do anyone have suggestions of other
projects we can borrow from?</div>
<div><br>
</div>
<div>If we're going to incorporate a code style and re-format
the current code case now is a very good time.</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
</blockquote>
<br>
</body>
</html>