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:
- 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.
- Developers should install the formatting tool on their machine, perform formatting before committing
- Or, do this in GitHub Actions?
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: