Re: Eclipse Code Formatting File

From: Mike Kienenberger (mkienen..laska.net)
Date: Fri Feb 11 2005 - 14:57:22 EST

  • Next message: Andrus Adamchik: "Re: Eclipse Code Formatting File"

    Andrus Adamchik <andru..bjectstyle.org> wrote:
    > Maybe also add a note to
    > http://objectstyle.org/cayenne/developerguide/eclipse.html ?

    Done.

    > * Preferences -> Java -> Code Style -> Code Formatter
    > * Preferences -> Java -> Code Style -> Code Templates
    > and (what is the third one? Organize Imports I believe)

    Sadly, 3.1 doesn't support per-project Code Templates.
    I've documented how to import under 3.0 with extra notes on per-project
    importing for 3.1.

    I also am having some problems using the correct tags for building
    eclipse.html. The following xml generates empty tables for the stuff in the
    source tags.

                            <p>You can import the Cayenne project coding standards using Eclipse 3.0.
                </p>

                <source>
                    <ul>
                                    <li>Windows -> Preferences -> Java -> Code Style -> Code
    Templates -> Import -> file "codetemplates.xml"</li>
                            <li>Windows -> Preferences -> Java -> Code Style ->
    Formatter -> Import -> file "formatting.xml"</li>
                        <li>Windows -> Preferences -> Java -> Code Style ->
    Organize Imports -> Import -> file "imports.txt"</li>
                    </ul>
                </source>



    This archive was generated by hypermail 2.0.0 : Fri Feb 11 2005 - 14:56:50 EST