Uploaded image for project: 'Kylin'
  1. Kylin
  2. KYLIN-922

Enforce same code style for both intellij and eclipse user

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Done
    • None
    • v1.0, v1.4.0
    • None
    • None
    • Sprint 46

    Description

      Kylin developers use both intellij and eclipse. The two IDE's different behaviors to formatting java code are leading to a lot of unnecessary diff/conflicts when when merging codes. This ticket is to ensure we have unified java code style afterwards.

      Current approach:
      1. Use in-project eclipse format as standard
      2. Intellj users should align with the style by using the plugin: eclipse code formatter.
      3. (Optional) enforce code style checking by maven checkstyle

      Attachments

        Activity

          People

            mahongbin Hongbin Ma
            mahongbin Hongbin Ma
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: