You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
Anuruddha edited this page Mar 23, 2015
·
1 revision
When you are developing components for AppFactory, you should always follow the coding standards. In order to automate this process, you can configure your IDE to perform some formatting related tasks automatically.
Intelij IDEA
Create a code style called wso2-codestyle, close the IDE, and then replace ~/.IntelliJIdea90/config/codestyles/wso2-codestyle.xml with the one attached
Eclipse
In Eclipse, we use Code Templates to configure IDE. There are 2 Templates as,
Code Cleanup Template
Code Formatting Template
In Order to apply these templates, follow the steps given below.
Window -> Preferences
Java-> Code Style
Select Clean up option in the preference page and point to the WSO2_Eclipse_Code_Cleanup.xml.
Select Formatter option in the preference page and point to the WSO2_Eclipse_Code_Formatter.xml.