Skip to content

Add gradle tasks to assist in code formatting #15535

@jdaugherty

Description

@jdaugherty

Issue description

In the weekly 3/18 meeting, we discuss automatic code formatting and how many tools are insufficient with the current project configuration. It was discovered that intellij has a command line formatter. The proposal is 2 fold:

  1. add a gradle task that invokes the command line formatter with the associated configuration to format target files
  2. add git pre-hook scripts that one can install to invoke this automatically on changes files

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions