Uploaded image for project: 'Wink'
  1. Wink
  2. WINK-62

Provide a suggested Eclipse code formatter

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.1
    • Documentation
    • None

    Description

      Provide a suggested Eclipse code formatter.

      This is obviously not a hard requirement as all patches are welcome and other IDEs are used and is only a suggestion. I'll attach a sample codestyle (Eclipse 3.4, should be compatible with most Eclipse releases I hope) that is taken from Tuscany ( https://svn.apache.org/repos/asf/tuscany/java/etc/ ) as suggested by Luciano Resende.

      However, there are 2 changes that I made:

      1) Use a code line width of 100 (instead of Tuscany's 120). (Splits the difference between 80 and 120).
      2) "Align fields in columns." is checked.

      Please add a comment to this JIRA if you want something changed. I'll leave this open for someone else to commit to get at least one other person to check this out.

      Attachments

        1. wink-eclipse-codestyle.xml
          28 kB
          Bryant Luk

        Activity

          People

            bluk Bryant Luk
            bluk Bryant Luk
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: