Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: formatting files with eclipse

  1. #1
    Brassrat Guest

    Default formatting files with eclipse

    Does anyone have a coding template or should i just use eclipse's
    default?

    would anyone mind if files are re-formated by eclipse?

    I have decided after many years that when multiple people work on the
    same file its better that there is a single IDE-supported/computed
    format for files.

    I don't care (very much, but am prepared to offer an opinion) what
    that format is (i.e., opening brace on the same line or not, opening
    brace indented or not, etc, etc., etc.), just that there is one. So
    where i am working now we have a single eclipse code template which
    people use and people are responsible for checking in files that have
    been formated using this template. This means that anyone is free at
    any time to 're-format' all files and update the source repository -
    theoretically, if everyone has followed the rules, such 're-
    formatting' should be a no-op ...but sometimes people forget.

    Sometimes eclipse's formatter doesn't do what someone might
    prefer...but its consistent from run-to-run. This minimizes 'false'
    changes when comparing different versions of files.


    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
    To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
    -~----------~----~----~----~------~----~------~--~---

  2. #2
    Sven Boden Guest

    Default Re: formatting files with eclipse

    yes, I guess everyone has their own and tries to more or less keep the
    format of the file in which they are changing. So when you're starting
    a new file, knock yourself out

    Don't start changing code just for formatting. And don't format and
    change code at the same time.... I have an itching feel to do a SVN
    rollback if people do the latter.

    Regards,
    Sven


    On Jun 11, 7:59 pm, Brassrat <jgold... (AT) vestmark (DOT) com> wrote:
    > Does anyone have a coding template or should i just use eclipse's
    > default?
    >
    > would anyone mind if files are re-formated by eclipse?
    >
    > I have decided after many years that when multiple people work on the
    > same file its better that there is a single IDE-supported/computed
    > format for files.
    >
    > I don't care (very much, but am prepared to offer an opinion) what
    > that format is (i.e., opening brace on the same line or not, opening
    > brace indented or not, etc, etc., etc.), just that there is one. So
    > where i am working now we have a single eclipse code template which
    > people use and people are responsible for checking in files that have
    > been formated using this template. This means that anyone is free at
    > any time to 're-format' all files and update the source repository -
    > theoretically, if everyone has followed the rules, such 're-
    > formatting' should be a no-op ...but sometimes people forget.
    >
    > Sometimes eclipse's formatter doesn't do what someone might
    > prefer...but its consistent from run-to-run. This minimizes 'false'
    > changes when comparing different versions of files.



    --~--~---------~--~----~------------~-------~--~----~
    You received this message because you are subscribed to the Google Groups "kettle-developers" group.
    To post to this group, send email to kettle-developers (AT) googlegroups (DOT) com
    To unsubscribe from this group, send email to kettle-developers-unsubscribe (AT) g...oups (DOT) com
    For more options, visit this group at http://groups.google.com/group/kettle-developers?hl=en
    -~----------~----~----~----~------~----~------~--~---

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.