Skip to content

Code formatting rules #15

@moodyhunter

Description

@moodyhunter

As can be seen, the code style of NodeEditor is kept manually, or sometimes, non-consistent (see db2e32b#diff-0164c9b0ea36cd227809551953d8f53ea2e1f8a4d5071ff24e0778c8c4060e5eR37-R57)

This problem could be resolved by introducing a code formatting tool (e.g. clang-format), however, this may lead to some extra problems:

  1. There'll be a huge diff when initially applying the code formatting rule, causing (probably?) unnecessary git
    • As a result, merging between forks are no longer be automatic.
  2. Developers should install the formatting tool on their machine, perform formatting before committing
    • Or, do this in GitHub Actions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions