[kepler-dev] Indent the Kepler code?
david.v.welker at gmail.com
Tue Mar 4 12:03:21 PST 2008
Maybe this does not have to be an issue.
If you are using an IDE or a smart text editor, perhaps you could just
indent in the manner that you prefer when you do a write. If the original
coder does not like that style, they just use their IDE or text editor to
change it back when they work on it. Would their be any issues with that?
Hopefully, no on is coding in notepad or other dumb text edtior, so we do
not have to worry about stepping on each others toes too much... Thoughts?
On Tue, Mar 4, 2008 at 10:08 AM, Chad Berkley <berkley at nceas.ucsb.edu>
> Hey Christopher,
> I'd prefer the entire kepler repository not be reformatted. If I find a
> file that is poorly formatted (like the MatlabExpression file), I
> reformat it and recheck it in. Although I agree in principal that the
> whole codebase should use one format, I also like to let people have
> their personal choices when they are writing code. I personally don't
> like many other formats and I find they slow me down when I'm coding.
> I'd rather the files that I write and edit often use my style. I also
> respect other people's formatting and tend to write in whatever format
> the file is in and I hope others do the same.
> Just my .02.
> Christopher Brooks wrote:
> > The Kepler code indentation is rather messy.
> > Perhaps someone could run the Eclipse indenter on it?
> > It might also be worth cleaning up any extraneous imports etc.
> > For example, kepler/src/org/dart/matlab/MatlabExpression.java
> > is almost unreadable - it has a mixtures of spaces and tabs for
> > indentation. The tabs should be converted to spaces.
> > The Eclipse formatter settings for the Ptolemy coding style are
> documented in:
> > Comments?
> > _Christopher
> > _______________________________________________
> > Kepler-dev mailing list
> > Kepler-dev at ecoinformatics.org
> > http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-dev
> Kepler-dev mailing list
> Kepler-dev at ecoinformatics.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Kepler-dev