Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

To improve code readability, habitually it is common and recommended to auto-format your code before committing it.

For the old projects where this best practice was in place, it is recommended that you run auto-format for each logic. It can be done for all logics at once by selecting “elements” folders > right click > Reformat Code.

The logic.json files should be excluded, since those are auto-formatted by the pfxpackage engine in slightly different way!

Tip

In IntelliJ, the default key binding for file reformat is Ctrl+Alt+L. See https://www.jetbrains.com/help/idea/reformat-and-rearrange-code.html.