Wednesday, November 25, 2015

Changing formatter configuration in RAD

While coding, as a best practice, we need to ensure the quality of the code. There are multiple criteria based on which the code quality is evaluated. One of them is formatting. RAD has in-built support for formatting, which can be modified as per the project needs.

The steps to change the settings of the formatter in RAD are given below.

1. Open RAD, go to Windows -> Preferences option.
2. In Preferences window, navigate to Java -> Code Style -> Formatter.




3. One profile name will be displayed by default as the active profile.
4.     Click "New" and provide a custom profile name. If a custom profile already exists and you want to edit it, click on "Edit" button
5.     Make changes in the following window as required and save it.


No comments:

Post a Comment