Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: [Mondrian] code formatting configuration for eclipse

  1. #1
    Michele Rossi Guest

    Default [Mondrian] code formatting configuration for eclipse

    hi,
    is there a formatting configuration file for Eclipse enforcing the mondrian
    coding standards somewhere?

    I am interested in things like automatic removal of spaces before end of
    lines etc.

    thanks,
    Michele

    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

  2. #2
    Julian Hyde Guest

    Default Re: [Mondrian] code formatting configuration for eclipse

    Not that I know of; but then I don't use eclipse.

    Also, the danger with using an automatic re-formatter is that you will cause a lot of spurious reformatting. Before you check in, please make sure that there are no changes of that nature. It makes it difficult to merge code between branches.

    It's very old fashioned, but if you run checkFile in emacs as a compilation, emacs can parse the output and take you to the places that need fixing. I find that you can find and fix any errors very quickly that way.

    Julian

    On Aug 25, 2011, at 12:48 AM, Michele Rossi wrote:

    > hi,
    > is there a formatting configuration file for Eclipse enforcing the mondrian coding standards somewhere?
    >
    > I am interested in things like automatic removal of spaces before end of lines etc.
    >
    > thanks,
    > Michele
    > _______________________________________________
    > Mondrian mailing list
    > Mondrian (AT) pentaho (DOT) org
    > http://lists.pentaho.org/mailman/listinfo/mondrian


    _______________________________________________
    Mondrian mailing list
    Mondrian (AT) pentaho (DOT) org
    http://lists.pentaho.org/mailman/listinfo/mondrian

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.