Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16090

Update code formatting rule on columns limit to 120

    XMLWordPrintable

    Details

    • Tags:
    • Impact type:
      Configuration Change
    • Upgrade notes:
      Hide

      Changes on Eclipse configuration:

      • Nuxeo / Contributors cleanup, templates and formatter preferences: "Setting Nuxeo contributors settings"
        Or manually, depending on your Eclipse plugins:
      • Java / Code Style / Formatter: "Import..." => tools/nuxeo-formatter.xml
      • Ant / Editor / Formatter: "Maximum line width (characters)" => 120
      • JavaScript / Code Style / Formatter: "Import..." => tools/javascript-formatter.xml
      • PyDev / Editor / Code Analysis / pep8.py: add "--max-line-length=120" to the arguments
      • Web / CSS Files / Editor: "Line width" => 120
      • Web / HTML Files / Editor: "Line width" => 120
      • XML / XML Files / Editor: "Line width" => 120
      • Dart: "Formatter max line length" => 120
      Show
      Changes on Eclipse configuration: Nuxeo / Contributors cleanup, templates and formatter preferences: "Setting Nuxeo contributors settings" Or manually, depending on your Eclipse plugins: Java / Code Style / Formatter: "Import..." => tools/nuxeo-formatter.xml Ant / Editor / Formatter: "Maximum line width (characters)" => 120 JavaScript / Code Style / Formatter: "Import..." => tools/javascript-formatter.xml PyDev / Editor / Code Analysis / pep8.py: add "--max-line-length=120" to the arguments Web / CSS Files / Editor: "Line width" => 120 Web / HTML Files / Editor: "Line width" => 120 XML / XML Files / Editor: "Line width" => 120 Dart: "Formatter max line length" => 120
    • Sprint:
      DevOps Sprint 9
    • Story Points:
      1

      Description

      We switch the code formatting rule on columns limit to 120.
      Update the IDE configurations:

      • tools/javascript-formatter.xml
      • tools/nuxeo_formatter.xml

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: