/
Source Code Auto Formatting
Source Code Auto Formatting
To improve code readability, 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!
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.
, multiple selections available,
Related content
Coding Style
Coding Style
Read with this
Code Quality in IDEA
Code Quality in IDEA
Read with this
Put "def" Outside of Loops
Put "def" Outside of Loops
Read with this
Troubleshooting Pricefx Studio
Troubleshooting Pricefx Studio
More like this
Pricefx Studio v13 Release Notes
Pricefx Studio v13 Release Notes
More like this
Pricefx Studio v12 Release Notes
Pricefx Studio v12 Release Notes
More like this
Found an issue in documentation? Write to us.